since the cropping went to image styles i have a problem i did not have before:
when the original image is very large, but the epsa cropping area is small it only shows a detail of the big image and does not scale & crop it afterwards.
any solution to this?

Comments

drupalok’s picture

when i add a scale BEFORE the EPSA CROP action it generates a black image... weird

drupalok’s picture

I should add the problem exists when i DON'T SELECT AN AREA with epsa crop. so the automatic selection is not working...

drupalok’s picture

Category: support » bug

can anyone please help me? it seems i am the only one having this problem?

let me explain again:

i have images within the dimension of 2000x2000 px
i add the epsa crop imagecache action of 126x80 px, so its really small
when i dont choose the area with epsa crop the image generated is NOT SCALED before it is cropped. so i get ONLY A DETAIL of my big image.
shouldnt it scale before? this makes so much more sense to me, otherwise i HAVE TO select the area with EPSA crop for EACH image...

yvmarques’s picture

Status: Active » Postponed (maintainer needs more info)

Hi,

In the latest dev we added a fallback when the user never set coordinates #1422882: Add an option to ignore EPSA crop settings if the user never sets a crop. Can you try it and tell me if it helped you ?

Cheers,

-- Yvan

drupalok’s picture

Hi Yvan. Thanks for your reply.
I tested the dev version and it kind of solves my problem. But I still have to add a regular "scale and crop" with the same dimensions AFTER the EPSA crop, because otherwise it shows the unprocessed image in full resolution when i dont set the coordinates.
Maybe as an option EPSA crop should "act as the regular scale and crop" if no coordinates are entered. I think this was the behaviour of the previous EPSA 1 crop version, no?

thanks for this awesome module!

drupalok’s picture

Priority: Normal » Minor
Status: Postponed (maintainer needs more info) » Needs review
4kant’s picture

The question is: as soon as I update an image style that already has an epsacrop effect - adding the scale-and-crop effect - do old epsacrops get lost?
If the answer is "no", then this is an acceptable solution.

yvmarques’s picture

It simple, the images that are already generated will stay as before, but if you flush the preset they will be generated with the new settings of your preset.

I don't know if it's understandable, hope it can help you.

Regards,

-- Yvan

4kant’s picture

In my oppinion the dev version solves this issue.
Would be good to have that in the stable version.

Thanks Yvan!

yvmarques’s picture

Issue summary: View changes
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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