This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.
Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.
Before posting questions here you might want to review the developer documentation.
Hello,
I create a gallery using content installer and set it up to use Nivo but the <img .... /> tags that are generated have an extra /
On the following function the variable webSizeBaseUrl is equal to "/Data/Sites/1/media/GalleryImages/0/WebImages/" so the first / is not correct when using http://localhost/mojo/ as an address instead of a http://site.com/ to access.
// Gallery.ascx.cs line 223protected string FormatNivoImage(string imageFile, string caption){return "\n<img src='" + webSizeBaseUrl + imageFile + "' alt='" + caption.HtmlEscapeQuotes() + "' style='width:" + config.WebSizeWidth.ToInvariantString() + "px;' />";}
How can i solve this please?
Best regards,João
I think it could be
// Gallery.ascx.cs line 223protected string FormatNivoImage(string imageFile, string caption){return "\n<img src='" + imageBaseUrl + webSizeBaseUrl + imageFile + "' alt='" + caption.HtmlEscapeQuotes() + "' style='width:" + config.WebSizeWidth.ToInvariantString() + "px;' />";}
Thanks for the bug report. This is now fixed in the source code repository.
Best,
Joe