News:

Support for jDownloads 3 has been ended
Since 17 August 2023 Joomla.org has discontinued support for Joomla 3.x. Therefore, we will no longer offer official support for our Joomla 3 jDownloads version 3.9.x from January 2024.
Please update your website to the latest Joomla version (Joomla 4 or Joomla 5) as soon as possible. Afterwards, please update jDownloads to the latest published version. The longer you delay, the more difficult the upgrade process for your website is likely to be.

Main Menu
Support-Forum

Problem with custom icon

Started by m.iannozzi, 11.12.2014 23:25:27

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

m.iannozzi

Hi,
I have customized icon in components/com_jdownloads/assets/images/* and copied all new icon in /images/jdownloads/
All works good for images in /images/jdownloads/ subfolder but for every update Jdownloads replace file in components/com_jdownloads/assets/images/* and it doesn't use files in /images/jdownloads/ folder root.
Jdownloads consider only subfolder in /images/jdownloads/
For all other images it still to use for example /components/com_jdownloads/assets/images/upload.png also if I have /images/jdownloads/upload.png
  •  

ColinM

I am not quite sure what you are asking so I have put what I believe you mean - please excuse if I have misunderstood.

I believe what you have noticed is that for the most part jDownloads is using images from subfolders in /images/jdownloads/

But there are some, such as the upload image upper.png, that are taken from directory components/com_jdownloads/assets/images/
However directory components/com_jdownloads/assets/images/ is replaced on each update of jDownloads

What you are suggesting is that images which appear in the front end are:
either taken from the relevant subdirectory in /images/jdownloads/
or that images in directory components/com_jdownloads/assets/images/ are only inserted if they are not already present.

This would then allow use of a replacement image.

Is my interpretation correct?



Colin M
  •  

m.iannozzi

Hi Colin,

QuoteI am not quite sure what you are asking so I have put what I believe you mean - please excuse if I have misunderstood.
It's guilt of my  bad english.

QuoteI believe what you have noticed is that for the most part jDownloads is using images from subfolders in /images/jdownloads/
Yes, I see

QuoteBut there are some, such as the upload image upper.png, that are taken from directory components/com_jdownloads/assets/images/
However directory components/com_jdownloads/assets/images/ is replaced on each update of jDownloads
Yes, I see. I have customized also this image so they are raplaced on each update.

What you are suggesting is that images which appear in the front end are:
Quoteeither taken from the relevant subdirectory in /images/jdownloads/
this can solve the problem
Quoteor that images in directory components/com_jdownloads/assets/images/ are only inserted if they are not already present.
and this can solve the problem in the best way because if a custom image doesn't exist in /images/jdownloads tree jdownloads can use image in /components/com_jdownloads/assets/images/ but maybe that with many users this check can cause excessive use of resources. I don't know...

This would then allow use of a replacement image.

Is my interpretation correct?
  •  

ColinM

I think this would add to the flexibility. So I  will move this to the suggestions list. Presentlyy we are trying to get to a stable release, then look at suggestions
Colin M
  •