Closed (fixed)
Project:
Image Picker
Version:
7.x-1.6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Mar 2012 at 17:05 UTC
Updated:
9 Mar 2012 at 11:51 UTC
I auto-generate a thumbnail by ImagePicker, and the display the full size by Lightbox.
Here is the source code of the generated HTML file:
<a href="/drupal/sites/default/uploaded_files/imagepicker/1/screenshot_2012-03-06_16-42-14.png" rel="lightbox"><img alt="Image" class="imgp_img" height="74" src="/drupal/sites/default/uploaded_files/imagepicker/1/thumbs\screenshot_2012-03-06_16-42-14.png" width="200"></a>
As you can see, the path includes "thumbs\" instead of "thumbs/".
Result: Firefox doesn't find the thumbnail file. (But Chrome auto-corrects this path and finds it).
Please review this bug.
Comments
Comment #1
franksweb commentedSubscribe
Comment #2
hutch commentedIs this running Drupal on a Windows machine?
Comment #3
franksweb commentedyup. This is running Drupal on a Windows machine.
And another thing of Chrome is that it removes the div (
Comment #4
hutch commentedCould you please edit imagepicker.module, line 1074
replace
with
Please let the list know what happens ASAP
Comment #5
franksweb commentedYup.
DIRECTORY_SEPARATOR changing in '/' worked.
Thnx!
Comment #6
hutch commentedThis has been commited to dev version.
Thanks for your help.
Comment #7
szakeetm commentedThanks for the fix!
Comment #8
hutch commentedI've just commited another bug in theme to do with DIRECTORY_SEPARATOR