Menu

Image Question

Anonymous
2009-07-26
2013-05-30
  • Anonymous

    Anonymous - 2009-07-26

    Greetings,

    I am wondering about the strategy as regards to the /image/small and buttons images.  Should a theme like cloudy have its own image directory /themes/cloudy/images/small images or should it point to the standard /image/small directory? 

    Also there are images in the cloudy small directory that are not references anywhere, e.g. menu_media.gif.  In fact the cloudy directory has 41 images (current SVN) in it and the /images/small has only 35.

    My point here is, when should a theme developer have their own copies of these images such as  buttons and small? 

    Rob

     
    • Anonymous

      Anonymous - 2009-07-26

      Rob surely the answer to the question "when should a theme developer have their own copies of these images" must be "whenever the theme developer wants/needs to use a different image to standard?

      Otherwise it is unnecessary duplication.

      It is of course easy to simply put copies of all in every theme, but in my view thats just lazy coding. Each image/icon is individually referenced in theme.php, so it's location can be anywhere.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.