Wrong src img path - show picture

Dear,

with plugin "file upload" the picture upload is perfect and behind a crop, the picture is correct. In the database field, the entry is correct with
Code:
[{"file":"\/media\/business\/banner\/724\/banner_468x60_ab30cents_3_jjmxQ2ync4RD.jpg","params":"{\"rotation\":0,\"scale\":100,\"imagedim\":{\"x\":239,\"y\":198,\"w\":468,\"h\":60},\"cropdim\":{\"x\":239,\"y\":197,\"w\":468,\"h\":60},\"crop\":1,\"mainimagedim\":{\"x\":200,\"y\":200,\"w\":468,\"h\":60}}"}]
In the List pictures shows correctly, but in view (details) the path is not correct and the picture is only black! In the path of the created html-code their is in the beginning path, behind the domain, 2 Backslashes and not only one:
Code:
<img alt="bild datei" src="http://myDomain.com//media/business/banner/724/cropped/banner_468x60_ab30cents_3_jjmxQ2ync4RD.jpg" class="fabrikLightBoxImage">
When I click in the picture, it opens a window to view the picture and their the path is correct and the picture shows perfectly:
Code:
<div id="lbImage" style="opacity: 1; background-image: url(&quot;[URL]http://myDomain.com/media/business/banner/724/banner_468x60_ab30cents_3_jjmxQ2ync4RD.jpg&quot;);[/URL] width: 468px; height: 60px;"><a id="lbPrevLink" href="#" style="display: none; height: 60px;"></a><a id="lbNextLink" href="#" style="display: none; height: 60px;"></a></div>
 
Does your folder path in the upload element settings start with a /? If so, try removing that.

I don't think that // will hurt anything, and I thought we removed it in our code (if you start the path with a /), but go ahead and remove it anyway, see if it helps.

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top