D7 Epsacrop - Images are not cropping, but crop data is correct. Only for imported images via FEED module

Hi,

I import content via the feeds module and my image field gets populated through that. Now when I try to crop the images, they dont crop, but the crop data stays in the node. Now if I remove the image and upload it manually the cropping works. So I'm not sure why it isnt cropping, but saving the data. Maybe its a permissions issue thats preventing it from cropping it after selecting the coordinates. Any ideas?

Thanks

Comments

pelicani’s picture

We are having a similar problem with images created using the PDF to Image module.
Thanks for posting your findings.
I am posting this so when/if we come up with a solution, I will come back and post our findings.

pelicani’s picture

after our initial debugging, we found that the uri inserted into the file managed table has an extra slash.
i.e. public:///asdfas.jpg
this makes the lookup for fid fail in the image module and the epsa effect is never rendered.
if you change the 3 slashes to 2 in the db, the image gets properly cropped.

the problem is probably going to be in our pdf document module that creates the images.
but we will confirm.

pelicani’s picture

the problem was in the pdf to image module.
we altered the line that inserted too many slashes and our images are now cropping as expected.
if you have similar problems, check out the code in the module that saves your multiple images to make sure it's saving the image uri correctly.

yvmarques’s picture

Issue summary: View changes
Status: Active » Fixed

Status: Fixed » Closed (fixed)

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