Closed (fixed)
Project:
One Click Upload
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Sep 2011 at 23:49 UTC
Updated:
6 Sep 2011 at 04:59 UTC
Images gets inserted with a preceding slash. This makes images not show. I'm developing locally and I can't say if it has the same effect online.
Screenshot
http://www.diigo.com/item/image/1ks4o/jyvr
Sample Output
<p><a href="/sites/default/files/images/20110109172259.png" target="_blank"><img alt="" src="/sites/default/files/styles/large/public/images/20110109172259.png" /></a>Test Dolphins</p>
Sample Output
<img alt="" src="/sites/default/files/images/QHZma.jpg" />
Comments
Comment #1
bryancasler commentedSomething odd is going on.
If I upload the file... "afghanistanAVAW-BWweb.jpg" the preview does not display and is output as...
After saving and viewing the live node the image is still not found and the output is...
If I look in "\sites\default\files\styles\medium\public\images\afghanistanAVAW-BWweb.jpg" for the referenced image, it is not there.
So on top of the preceding slash this means the re-sized image are not being generated.
While editing the node if I remove the preceding slash, the re-sized image is generated and shows up in the editor. If I then save the node everything displays as expected.
Comment #2
xandeadx commentedWhat the "preceding slash"?
image style "medium" exists?
Comment #3
bryancasler commentedHere is a screencast demoing the problem, I hope this helps clarify what is happening.
http://www.screencast-o-matic.com/watch/cXQnrY0hC
Comment #4
xandeadx commentedfixed http://drupal.org/commitlog/commit/19380/67a423c4f208f6f80dd3e0ced8d02fe...
Comment #5
bryancasler commentedThis fixed it, thanks!
Comment #6
xandeadx commented