Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

Image name

More
11 years 1 month ago - 11 years 1 month ago #14728 by raph17
Image name was created by raph17
Hello

I modified the adsmanager to show this on image name
$dest =$dirfinal.$imgtitle."_".$row->ad_modelauto."_".$row->ad_model."_".$contentid."_".$image->index.".jpg";			 
I get this filename images/com_adsmanager/ads/kawasaki__Z300%20ABS_111_4.jpg
How can i replace the whitespaces with "-" or "_" instead of "%20" ?
Last edit: 11 years 1 month ago by raph17.
More
11 years 1 month ago #14746 by loic
Replied by loic on topic Image name
Hello,

I strongly advice you to not change the name of the file. It can broke the images display.

If you wish to custom that, you can custom the file components/com_adsmanager/helpers/image.php.
But if you broke this file or the upload feature, we will not be able to help you.

Best regards.
More
11 years 1 month ago #14754 by raph17
Replied by raph17 on topic Image name
I modified the content.php file to change the name of the file and it works fine.But i need to replace the white spaces with "-" or "_" instead of %20.
More
11 years 1 month ago #14790 by loic
Replied by loic on topic Image name
Hello,

The %20 means that there is a whit space in the name of the image, if you replace it, the path to the image will not be the same and instead of the image you will have a 404 error (broken image).

Best regards.
The following user(s) said Thank You: raph17
Time to create page: 0.048 seconds
Powered by Kunena Forum