After enabling the asset module i wanted to store all the images uploaded by asset module under the "images" folder.
By default asset module created a folder inside the files directory and named the directory as the username (i.e files/username).

To have all the images under the "images" folder in the Asset Wizard I tried to create a new folder and name it "images". When I clicked Next to complete the process I noticed that the asset module had created two "images" folder instead of one. And the two "images" folder are not the same(i.e the contents are different).

Finally I decided to delete everything and again start from scratch but surprisingly the asset module doesnt only allowed me to delete one of the two "images" folder.

Is there a way that I can have the Asset Wizard open up inside an "images" directory by default?

Comments

wmostrey’s picture

Did you download the latest dev version? This was fixed in the April 12th dev release.

To default to a specific directory, you could alter line 454 in asset_wizard.inc to match $dir to the directory name.

wmostrey’s picture

Status: Active » Fixed

This is fixed in the beta 3 and the latest dev version.

janwari’s picture

awesome !!

janwari’s picture

I tried forcing Asset module to open "images" folder by default by adding $dir = $dir . '/images/'; on line 462 in asset_wizard.inc and it opens the images folder but it appears to be empty, pointing to a wrong directory perhaps.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.