Closed (fixed)
Project:
Album Photos
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
28 Oct 2008 at 12:38 UTC
Updated:
3 May 2014 at 16:20 UTC
Jump to comment: Most recent
Hi, is there a way to re size images on upload? A lot of the pictures a too big and when you click on the view original image, it's bigger than most themes viewable area.
Thanks for the good module
Comments
Comment #1
berdirThis is currently not possible.
As a workaround, the 2.x version has a new option which allows to open the original image in a new window.
Comment #2
nathaniel commented@todo
file_validate_image_resolution.Comment #3
LittleDuke commentedAny update on this? My issue is that the files do not seem to exist until the first time Drupal goes to render them at a specific Style?
I have an external application that is reading content from the database and then attempting to render the images at a specific resolution from yet another application.
So if I have a Style at say, resize to 800x600, the file literally does not exist on the filesystem until a user clicks on that specific resolution under "All Sizes" in the photo / album view.
Comment #5
nathaniel commentedYes actually, I will add that now. It might take a day to publish. Check dev for the latest features.
There will be a box to enter 800x600 "Maximum image size" under "Path" on the admin form.
Comment #6
nathaniel commentedFollow up:
For external applications try using the following function to generate image style URL's.
image_style_url($style_name, $path)https://api.drupal.org/api/drupal/modules!image!image.module/function/im...