How I can bypass image cache presets or any sort of server side processing and show an uploaded image file as it is in the node view ( non-thumbnail non-teaser view ) ?
I want to do this as I will be using node gallery to upload images by myself only and no other user - so sizes and all that are already done in photoshop. I do not know whether it is image cache or any of the gd library etc makes the image lose it crispness slightly. Compared to the image directly shown in browser when seen through node gallery/drupal it becomes slightly blurred ( may not be noticable to all on lower resolutions )
Can an option be added in node gallery to show the original image in original size as it is without going through presets or processing ?
If such option is not added or added in future, how can I bypass this for the time being ?
# Deleting "node-gallery-display" seems to vanish the image
# Deleting the parameters in that preset makes the image better but still not what I want
Thanks in advance for any help.
Comments
Comment #1
Tally commentedImagecache should have preset: node-gallery-display. This is your basic display in the image node. To prevent resizing of the image, set the Action to scale with 100% in both width and height.
Also, check your settings for Image Toolkit. Mine is set for JPEG quality: 75%. It should be set at 100% to prevent any compression.
Check ImageAPI configuration for the Compression Quality.
With these settings, your image node should show a full-size picture without any degradation.
Comment #2
kaakuu commentedThanks a lot again.
I am using GIF - does "Image Toolkit: JPEG quality: 75%" setting has any effect on GIF?
I will try your recipe as soon as I can but in the meanwhile can you kindly tell is it just possible to put off image cache and show uploaded image file simply as it is ? Image cache is resource intensive. The way node gallery works, and if it can or has option to show image it is, it is a very lean and and very efficient means to put up a gallery.
Comment #3
wilson98 commentedwill consider it, so that we can reduce the imagecache dependency.
Comment #4
kmontyRemoving the imagecache dependancy would be a very bad idea in my opinion. You would be trading off simplicity (which the majority of users need) for power (which would only please a minority).
There is an option to have a link to the original image. I feel this is good for most cases.
In your specific use case, you could edit the templates / theme functions to bypass the imagecache preset.
Comment #5
mblataric commentedPerhaps better integration with Lightbox 2 then?
Problem is, if image is shown in Lightbox, there is no "Download original image" which would be rather nice.
On the other side, if I select Lightbox option to open original image, I have to select ImageCache preset - which means - more processing, more file storage - since ImageCache can't have preset that would actually link to original - you can only create a preset that does not touch original - but that creates another file. Not nice on shared environment.
Good solution for my needs would be "Download original image" link in Lightbox 2 (any time lightbox is opened with "Display" ImageCache preset). Would that be possible?
Comment #6
kmonty@mblataric that is a good suggestion but not directly related to this feature request. Do you care to open up a new issue/feature request for it?
Comment #7
dddave commentedper #4
Comment #8
ebyrne41 commented"There is an option to have a link to the original image."
Forgive my ignorance, but where is this option??
thks, Ed
Comment #9
dbeall commentedFrom the node_gallery handbook
Configuration for Each Gallery Relationship
Original Image Display:
Specify how to display the original image or disable this feature.
View of the original image:
..This setting is in the second configure screen..
Comment #10
mpkorstanje commentedI would like to do the same as the original submitter. I would like to link to the original (unprocessed) image.
The information in the node gallery handbook however no longer appears to be applicable. There is no Original Image Display.