yesfree
Forum Replies Created
-
Forum: Plugins
In reply to: [Ajax Upload for Gravity Forms] Display Image ShortcodeUh i thought this would be simple to do, But it look its a difficult one.
Forum: Plugins
In reply to: [Ajax Upload for Gravity Forms] Display Image ShortcodeI have this multi-page form for log in users to fill and submit..This picture best explain what i want to do.
Forum: Plugins
In reply to: [Ajax Upload for Gravity Forms] Display Image ShortcodeI thought I could make the uploaded image appear elsewhere in the template with using an example code like this…
<?php echo get_the_post_thumbnail($id, 'large'); ?>Worked on a live site.
Paul do u use teamviewer, If yes i will give you my login credentials to check direct from the localhost.
Hello Paul, Sorry i was not well for the last 2 days. The photostream returns all my images at the admin backend But its left with displaying it at the frontend, Still the code below doesn’t show anything.
$flickr_photostream = get_field(flickr_test); if (isset($flickr_photostream['items'])) { foreach ($flickr_photostream['items'] as $id => $photo) { echo '<a href="' . $photo['large'] . '" title="' . $photo['title'] . '"><img src="' . $photo['thumb'] . '" /></a>'; } }Paul Thanks a million times, Yes flick_test is the field name, I have even change it to a different name but its still not displaying, And i have set my album from private to public as well.
These are the tabs i have, I dont have gallery
Camera Roll
Photostream
Albums
Favorites
Groups CreationsI know sets has been rename to album, What about the code below not displaying i’ve selected from my photostream.
$flickr_photostream = get_field(flickr_test); if (isset($flickr_photostream['items'])) { foreach ($flickr_photostream['items'] as $id => $photo) { echo '<a href="' . $photo['large'] . '" title="' . $photo['title'] . '"><img src="' . $photo['thumb'] . '" /></a>'; } }The code below doesnt output any image, Or i’m doing something wrong.
$flickr_photostream = get_field(flickr_test); if (isset($flickr_photostream['items'])) { foreach ($flickr_photostream['items'] as $id => $photo) { echo '<a href="' . $photo['large'] . '" title="' . $photo['title'] . '"><img src="' . $photo['thumb'] . '" /></a>'; } }Wow……….I changed the pictures in the photostream to public view and it works now. By the sets and gallery dont work.
I got this…
array(5) { [“page”]=> string(1) “1” [“pages”]=> float(0) [“perpage”]=> string(3) “100” [“total”]=> int(0) [“photoset”]=> array(0) { } }
OK after setting the debug to true i get this on the header of admin page..
Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use
__construct()
instead. in C:\xampp\htdocs\example\wp-includes\functions.php on line 3619
A screenshot of how the field look like when i go to edit the page the field is added to, Every other field display and works fine.
Are you using ACF 5?
No i use v4.4.4
Can you send me a screenshot of your flickr field group settings? (you can block out api key etc)
Also in wp-config.php set:
define(‘WP_DEBUG’, false);
Is already set to false
And thanks already for the effort being made to help me make this work, I appreciate it, Best plugin author support so far.
Yes, This is the first time and i even downgraded to 1.0.8 it didn’t work, Now using the current version (1.1.0) But still not working.
1) Your User ID is correct – http://idgettr.com/
If my ID should be the number that comes after the /photos of the url below, Then yes its correct.
https://www.flickr.com/photos/1111@111/
2) Your API key is correct
Yes its correct check below.., Wait do you think i should turn the private to public,
Key: 00000000000 – Hidden for some reasons
Secret: 22222222222 – Hidden for some reasons
1 authenticated user | 0 calls in the last 24 hours (stats)
Private, Active3) You have already added Flickr Sets to this account
If sets are the same as albums then i have 2 albums.