I use image modul (6.x-1.0-alpha3) to resize original size to 640x480px. I turn on function "Enable for image nodes" for original images admin/settings/thickbox, but thickbox not working. I looked on link url and found bug - dsc_8735._original.jpg. Correct link must be without ._original, because, image module don't rename images to _original.

wrong/correct settings for original image function
wrong url: drupal/sites/default/files/images/dsc_8735._original.jpg
correct url: drupal/sites/default/files/images/dsc_8735.jpg

Comments

chiddicks’s picture

Assigned: Unassigned » chiddicks
Status: Active » Needs review

I ran into the same issue. Here's a fix.

In thickbox_auto.js, the following line checks to see if the "Original" image size has been selected:

if (settings.derivative == "original") { (line 41)

for whatever reason, that variable is now passed with an underscore preceding it, so just add it:

if (settings.derivative == "_original") {

Everything seems to be working for me.

frjo’s picture

Assigned: chiddicks » frjo
Status: Needs review » Fixed

I have committed this small fix after checking the image module and confirmed that "original" now seems to be "_original".

Thanks for clearing this out, I don't use the image module myself so I must rely on others.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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

alphex’s picture

This was a show stopper for me for two days.
Can we get it passed in to a release? so it doesn't bother anyone else?

frjo’s picture

Status: Closed (fixed) » Postponed (maintainer needs more info)

Can some of you test the 6-dev version and confirm that it's working well. When I know it does I will release it as 6.1.1.

http://drupal.org/node/253947

bunya’s picture

Hi,

I just checked it, but it seems to me that the problem is still present.

bunya’s picture

Status: Postponed (maintainer needs more info) » Fixed

Sorry, I used a snapshot which was 2 days old.
With the latest one everything works just fine.

Thanks.

bunya

Anonymous’s picture

Status: Fixed » Closed (fixed)

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