Multi-site and images like jpg, gif and png

This is the place to discuss bugs that have been found in the most recent version of PivotX. Posting bugs will ensure that the Development Team is aware of them and that they will be addressed when resources are available.

Multi-site and images like jpg, gif and png

Postby wilsoupcup » Mon May 09, 2011 3:20 pm

I have a directory web-site/pivotx/sites/mansup.net/images' where there are images stored, but they are not accessible when addressed in html as <img src="images/mansupnet.jpg">

but they are accessible as

<img src="pivotx/sites/mansup.net/images/mansupnet.jpg">

I guess this could be more an inconvenience than a bug, it is extra typing and more prone to a spelling error. I would also rather not expose more information about the directory structure and the multi-site modes than I need to. Also, if I migrate the site to a pivotx stand-alone installation all addressing on images will be incorrect.

However, in the pivotx control panel for the url that is part of the multi-site scheme, (www.mansup.net) I can manage media and see exactly the files that are part of just that site.

Thoughts ?? - Wil
wilsoupcup
 
Posts: 10
Joined: Fri Feb 18, 2011 7:12 pm

Re: Multi-site and images like jpg, gif and png

Postby hansfn » Tue May 10, 2011 2:10 am

This is actually discussed in our documentation:

PS! If you use multi-site you should consider using the transparent multi-site extension. It will make the paths to resources (like images and CSS files) much cleaner.


Download the extension from http://extensions.pivotx.net/entry/38
hansfn
Developer
 
Posts: 3282
Joined: Sun Nov 25, 2007 7:48 pm
Location: Molde, Norway

Re: Multi-site and images like jpg, gif and png

Postby wilsoupcup » Tue May 10, 2011 1:58 pm

You are correct, I did not read to the bottom of the documentation page.

I was mistaken. I repeat NOT a bug. :o

Thanks for the info on the multi-site extension. I am also looking at a couple of forum threads on multisite -

http://forum.pivotx.net/viewtopic.php?f=2&t=1936 - Pivotx multisite setup discussion

http://forum.pivotx.net/viewtopic.php?f=2&t=1608 - Pivotx multisite setup discussion

http://forum.pivotx.net/viewtopic.php?f=9&t=954 - Pivotx multisite setup discussion

and last but not least, especially, because I am working through the extension you referred me to;

http://forum.pivotx.net/viewtopic.php?f=10&t=1610 Pivotx Multisite Transparent extension forum
wilsoupcup
 
Posts: 10
Joined: Fri Feb 18, 2011 7:12 pm


Return to 2.x Bugs

Who is online

Users browsing this forum: No registered users and 11 guests

cron