Default image for missing album label

P
P
Offline
0
I search the forum but couldn't find anything that covers what I'm trying to do. I need to set a default pictures for all my missing album covers. I've done it before but don't remember how, I found the details in the forum .

Thanks
Responses (1)
  • Accepted Answer

    Friday, October 23 2009, 03:43 PM - #Permalink
    0
    the more practical thing (but you need some MySQL knowledge) is to make the field "image" on the mysql table "jos_muscol_albums" have a default value (when no value is specified), for instance, "no_image.jpg"

    after doing that, you could perform a simple mysql query:

    UPDATE jos_muscol_albums SET image = "no_image.jpg" WHERE image = ""

    this way, we avoid to have to modify lots of files (album view, artist view, song, view, search view, also module templates...) not a good idea.

    do you understand mysql?
    The reply is currently minimized Show
Your Reply