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

berdir’s picture

This 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.

nathaniel’s picture

Version: 6.x-1.4-beta2 » 7.x-3.x-dev
Status: Active » Postponed

@todo

  • Test file_validate_image_resolution.
  • Add setting / variable to admin form.
LittleDuke’s picture

Any 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.

  • Commit 8dc3598 on 7.x-3.x by Nathaniel:
    Issue #327116 by Nathaniel: add maximum image resolution on upload.
    
nathaniel’s picture

Assigned: Unassigned » nathaniel
Issue summary: View changes
Status: Postponed » Fixed

Yes 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.

nathaniel’s picture

Follow 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...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.