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
Accueil / forum / Public Forum / Main Forum / How to change deflt location of JURI_IMAGES_FOLDER

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.

× OLD Forum post could be checked here : forum.joomprod.com

How to change deflt location of JURI_IMAGES_FOLDER

  • hrijfkogel
  • Topic Author
  • Visitor
  • Visitor
10 years 10 months ago - 10 years 10 months ago #17254 by hrijfkogel
Hi all,

I use joomla (latest version) and have activated SEO in the settings. Still, the path to the images in adsmanager show the full path, like

mysite.com/images/com_adsmanager/contents/image.jpg

I have found this in default.php in the views/details/tmpl folder:

foreach($this->content->images as $img)
{
$thumbnail = JURI_IMAGES_FOLDER."/".$img->thumbnail;
$image = JURI_IMAGES_FOLDER."/".$img->image;
switch($this->conf->image_display)
{

I think I need to redefine the location of JURI_IMAGES_FOLDER but do not know where to do this.

Thanks in advance

Hans
Last edit: 10 years 10 months ago by hrijfkogel.
  • hrijfkogel
  • Topic Author
  • Visitor
  • Visitor
10 years 10 months ago - 10 years 10 months ago #17255 by hrijfkogel
Replied by hrijfkogel on topic How to rewrite full path to images
I found an override solution:

change JURI_IMAGES_FOLDER in JURI::root() and change "/" into "/images/contents/"

But now I still need to change the default folder where adsmanager uploads the images, because now they are still uploaded to the JURI_IMAGES_FOLDER location.

So still: how do I change the location of JURI_IMAGES_FOLDER?
Last edit: 10 years 10 months ago by hrijfkogel.
  • hrijfkogel
  • Topic Author
  • Visitor
  • Visitor
10 years 10 months ago #17258 by hrijfkogel
Replied by hrijfkogel on topic How to rewrite full path to images
Found it: it is in core.php in the lib folder.
More
10 years 10 months ago #17274 by tompap
Replied by tompap on topic How to rewrite full path to images
Correct :)
The following user(s) said Thank You: adarr
Moderators: perry
Time to create page: 0.071 seconds
Powered by Kunena Forum