Want to retrieve original location for each image
Permalink Browser Info Environment
Hi there,
First of all, thanks for a great plugin. I am trying to implement a lightbox to use with the current image that is being displayed, but am having trouble obtaining the original image location to supply to the lightbox plugin.
The original images look like they are stored at a location like: /files/4113/2227/2715/image_name.jpg
I am only having luck acquiring the cached resized image, at a location like: /files/cache/bfe3dd3fe00281a2b8e280ec2bc8ac83.jpg
I am looking in jquery.galleriffic.js - could you tell me which object I could retrieve this information from? I am comfortable with php and javascript, I could figure the rest out..
Any help at all would be greatly appreciated
Thanks in advance
First of all, thanks for a great plugin. I am trying to implement a lightbox to use with the current image that is being displayed, but am having trouble obtaining the original image location to supply to the lightbox plugin.
The original images look like they are stored at a location like: /files/4113/2227/2715/image_name.jpg
I am only having luck acquiring the cached resized image, at a location like: /files/cache/bfe3dd3fe00281a2b8e280ec2bc8ac83.jpg
I am looking in jquery.galleriffic.js - could you tell me which object I could retrieve this information from? I am comfortable with php and javascript, I could figure the rest out..
Any help at all would be greatly appreciated
Thanks in advance
Type: | Discussion |
---|---|
Status: | New |
Thanks for your positive feedback.
You can edit the view.php (after line 36) and use this code:
See this C5 doco for more details on how to work with files:
http://www.concrete5.org/documentation/developers/files/files-and-f...
Hope this helps.
JB