Closed (works as designed)
Project:
Image Picker
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
26 Sep 2011 at 16:24 UTC
Updated:
28 Sep 2011 at 01:35 UTC
Hi,
In Set imagepicker insert defaults, I set 'Show:Thumbnails' and 'Link:File' ... but once inserted, the link is pointed to:
/sites/default/files/imagepicker/1/dummy_10.jpg instead of to the original file /sites/default/files/imagepicker/1/orig/dummy_10.jpg
Am I missing something? Where can I change the link settings for this? Inside the code, perhaps?
Thank you.
Comments
Comment #1
hutch commentedThe file under 'orig' is a straight copy of whatever was uploaded, the file 1/dummy_10.jpg may have been resized (if this was requested) as part of the upload process and is the right one for showing. If you subsequently use the copy option which can also do resize then the file under orig will be used so as to avoid the degradation you will get if you resize images that have already been resized.
If the file you are uploading is already the size you want to display then leave the size field empty on the upload form.
Comment #2
neilolsen commentedActually what I wish to do is something like this:
User upload an image (with a predefined scale value I set) and insert the image into the message.
The image shown inline with the message is the resized one, but when clicked it will bring (show) to the original size.
Is it possible?
Comment #3
hutch commentedSet the thumbnail resize instead of the main image and make your link using the thumbnail as your 'show' and the main image as your link target as a file, on a page or in a colorbox (the last is my preferred option, the user just closes the colorbox and they are back at their original page).
The thumbnail that you see in the image browser is not the same file as the thumbnail you get in content.
Comment #4
neilolsen commentedThanks, Hutch.