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

Type: Discussion
Status: New
Dinie
View Replies:
jb1 replied on at Permalink Reply
jb1
Hi,
Thanks for your positive feedback.
You can edit the view.php (after line 36) and use this code:
$fv->getPath()


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

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.