Defining multiple paths for pictures?

images php coding issues or problems here.

Moderators: macek, egami, gesf

dwillars
New php-forum User
New php-forum User
Posts: 1
Joined: Wed Sep 14, 2011 6:38 pm

Defining multiple paths for pictures?

Postby dwillars » Wed Sep 14, 2011 6:50 pm

My grandmother in law wanted me to give her a hand with a problem she's having with an auction website of hers. It's built on Joomla 1.5 and is using an extension called The Auction Factory.

The problem is that our web host wont let us upload any more images to a single directory, so I wanted to split them up with about 1000 in each and just create a bunch of different directories within /images/auctions to something like images/auctions/a, images/auctions/b

The only thing I can find is this line of code and I was wondering if there was a way to modify it so the auction plugin will look in all subdirectories of /images/auctions/ or if its possible to specify each directory individually?


define('AUCTION_PICTURES',JURI::root().'/images/auctions/');
define('AUCTION_PICTURES_PATH',JPATH_ROOT.DS.'images/auctions/');

I'm not sure if this is even the right place to be asking this question, but I haven't gotten an answer anywhere else :(

Thanks in advance!

Return to “PHP coding => Images”

Who is online

Users browsing this forum: No registered users and 2 guests

cron