[Plugin: ZenphotoPress] Thumbnail problem
-
when I add shortcode in wp post, the img thumnails work perfectly, but when I click the thumbnail it goes to single image right away
http://www.XXXXX.com/zenphoto/albums/albumname/pict1.jpg
which part in zenphoto or zenphotopress shoud I modify to make it goes to
http://www.XXXXX.com/zenphoto/albumname/pict1.jpg
Please help me, O try to resolve it more than 3 days still not working.
thank you in advanced
-
This is weird, “albums” should not appear in the link.
Try posting some more info from the debug messages. See the FAQ to activate them: http://ww.wp.xz.cn/extend/plugins/zenphotopress/faq/I email you the problem, what I mean is the img thumb is not go directly to my album , it goes to my image
the thumbnaill ink :
http://www.##########/zenphoto/zp-core/i.php?a=bmw1series&i=bmw_1series.jpg
I want it be like this
http://www.##########/zenphoto/index.php?album=bmw1series&image=bmw_1series.jpg
it is set by default, when I use a simple tag at my wordpress post.
Thank you
I am having a similar problem.
Zenphotopress creates the following link when the image is inserted:
http://www.redkobold.com/albums/zp-core/i.php?a=illustrations&i=pollanthro.jpg
This link does not work. zp-core is not a subdirectory of albums
if I take out “albums/” and the link was
http://www.redkobold.com/zp-core/i.php?a=illustrations&i=pollanthro.jpg
then it would work
redkobold: I agree with you, and try to find how to make a modification but still not working, there is a few website able to do that , when I e-mail the webmaster, no respond , hope simbol can help us regarding this issues
hoe fo you make your thumbnail link
http://www.redkobold.com/index.php?album=robot-apocalypse&image=3x3rasheetrevised.jpg
I’m not sure I’m fully grasping the issue, but it looks like you have two different kinds of problem.
bmwcar, as far as I understand you want to insert a gallery of images in a post with the shortcode [zenphotopress] and configure it to send the user to the album (instead of the single image page) when clicking on one of the images in the gallery. Is this correct?
If this is the case, there’s simply no way of doing that unless you want to modify the source code itself. This isn’t usually a good idea, because it makes updating the plugin a lot more complicated.
If you want to go that route, however, try replacing these lines in classes.php:Remove line 102 and replace it with:
$imgpath = get_option('zenphotopress_web_path') ."/" . ZenphotoPressHelpers::pathurlencode($image[album_url]);Remove line 105 and replace it with:
$imgpath = get_option('zenphotopress_web_path') ."/index.php?album=" . ZenphotoPressHelpers::pathurlencode($image[album_url]);redkobold, as for your issue, try posting some debug messages
Thank you simbul for your reply, I replaced the code and it still not working
I try mod. the .htaccess using 301 redirection , but I mess up everything.
but you give me an idea to mod the classes.php, so I change a few code and it works, now everything is ok
once again thank youBrilliant! π
OK. Turned on debug.
Clicked on ZP icon in TinyMCE Editor.
The popup listed the gallery directories and I selected a gallery.
All images of the gallery were listed but there was only a default placeholder instead of thumbnails.
I select a picture to insert.
A placholder is inserted instead of the picture. No picture, no thumbnail.
When you view the page and rightclick on the image to open the placeholder picture properties you see that Zenphotopress created the link:
http://www.redkobold.com/albums/zp-core/i.php?a=wordpress&i=snail.jpg
As I mentioned previously, zenphotopress creates a path to a directory that does not exist. I do not have a zp-core directory under the albums directory.
If I go to edit my page again and switch to html mode and delete /albums manually from the path that Zenphotopress created then the picture will show up.
Here is a link to the page:
http://redkobold.com/wordpress/zp-test-with-debug/
Folling are the debug messages listed in the Zenphotopress Dialog Box:
ZenphotoPress Messages
INFOZPP Version: 1.7.4
INFO
PHP Version: 5.2.9
INFO
Current working directory: /mnt/r0229/d33/s28/b006a8d1/www/redkobold.com/wordpress/wp-content/plugins/zenphotopress/tinymce
INFO
POST:
INFO
GET: Array ( [tinyMCE] => 1 [ver] => 327-1235200 )
INFO
ZenphotoProxy method: cURL
INFO
ZenphotoProxy call: http://redkobold.com/wordpress/wp-content/plugins/zenphotopress/zenphoto_bridge.php?function=get_nested_albums&data_path=/mnt/r0229/d33/s28/b006a8d1/www/redkobold.com/zp-data
INFO
ZenphotoProxy call: http://redkobold.com/wordpress/wp-content/plugins/zenphotopress/zenphoto_bridge.php?function=get_nested_albums&data_path=/mnt/r0229/d33/s28/b006a8d1/www/redkobold.com/zp-data
What URL did you put in the ZenphotoPress settings?
The topic ‘[Plugin: ZenphotoPress] Thumbnail problem’ is closed to new replies.