• Resolved mjkirton

    (@mjkirton)


    I’m using Simple Discography with a locally hosted site in development. The plugin is very good but the album cover does not display — I can only see the placeholder. I’ve been ably to add the cover as a featured image but when I click on the cover the Lightbox displays a line of code above the image. Can you help at all?

    Many thanks,

    MK

    https://wordpress.org/plugins/simple-discography/

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author lermit4

    (@lermit4)

    Hi mjkirton,

    Would it be possible to know what you used as trick to show the cover? Maybe this will allow me to solve your problem so global.

    For the event click, could you describe the line of code that you said?

    regards,
    lermit

    Thread Starter mjkirton

    (@mjkirton)

    Hi lermit4,

    Thanks for responding. I’m not sure what you mean by ‘trick to show the cover’. I was just using the custom field under ‘Info Album’ in the ‘Edit Album panel’. I understand event click but I’m not a programmer and am using the WordPress admin. Sorry if I misunderstood your question.

    Regards,

    MK

    Plugin Author lermit4

    (@lermit4)

    Hi mjkirton,

    Oh sorry, I made ​​a mistake in my question.
    my question is:
    Would it be possible to know what you used as solution to show the cover?

    Excuse me again, but I can not identify your problem.
    Your problem is the “front-end” or in the admin interface?

    Is it possible for you to send me a link to screenshots or video of your problem?
    this will allow me to better understand your problem.

    Thank you in advance,
    best regards,

    lermit

    Thread Starter mjkirton

    (@mjkirton)

    Hi Iermit,

    I put screenshots in a Dropbox folder. Is that okay for you? Here is the link:

    https://www.dropbox.com/sh/kbgdjrqjjqm66vh/AAAqgTn5xlLud-zzRbgLULuAa?dl=0

    One shows the admin — I added the cover image in the field at top right — Info Album –> Cover but it doesn’t show in the field.

    The other shot shows the page as it looks in the front end.

    Many thanks for your help.

    Regards,

    Malcolm

    Plugin Author lermit4

    (@lermit4)

    Hi Malcolm,

    I deployed version 1.2.2.
    Tell me if your problem is solved.
    If its not working, test by removing and putting the cover.
    would it be possible for you to test with another browser (Firefox, Chrome, Opera, …)?

    regards,

    Lermit

    Thread Starter mjkirton

    (@mjkirton)

    Dear Lermit,

    Thanks again for your help. I downloaded the version 1.2.2.

    The cover now shows up in the WP admin. However it’s still not displaying on the album page. I tried in Safari, Chrome and Firefox and the page looked the same in all of them. It shows the place holder, with the music notes icon, not the image.

    Regards,

    Malcolm

    Thread Starter mjkirton

    (@mjkirton)

    Hi Lermit,

    A question: would it be possible to have a Lightbox gallery where the single cover displays (or should display)? Would that be a lot more work or can it be done with a separate gallery plugin?

    Many thanks,

    MK

    Thread Starter mjkirton

    (@mjkirton)

    Hi Lermit,

    Me again. Just to let you know –the album cover displays perfectly when I use the generated shortcode.But I would like it to show in the single album page. Or else, if the cover icon at top left can be removed, then I could just use the ‘featured image’ instead. Does that make sense?

    Malcolm

    Plugin Author lermit4

    (@lermit4)

    Hi,

    you can solve your problem by replacing this code on single page.

    – Go to Plugins -> editor,
    – Select “Simple Discography” in the dropbox
    – Click on the file “single-discography / SiDi_Shortcodes.php”
    – Replace this line:

    $return_string .='<div class="sidi-cover"><img src="'.(empty($cover['url'])?plugins_url( 'includes/images/no-cover.png' , __FILE__ ):$cover['url']).'" ></div>';

    width

    $cover_size = array(150,150);
    $return_string .='<div class="sidi-cover">'.sidi_get_cover_image(empty($cover['id'])?0:$cover['id'], $cover_size, array('alt'=>__('Cover : ','sidi').get_the_title())).'</div>';

    regards
    Lermit

    Thread Starter mjkirton

    (@mjkirton)

    Hi Lermit,

    That works! Thanks very much for the solution.

    I put 2 more screen shots in the DropBox folder. Would it be too much to ask you how I can lose the lines of text above the Lightbox image on the right?

    Thanks again!

    Regards,

    Malcolm

    Thread Starter mjkirton

    (@mjkirton)

    Hi,

    Further to my question about the text above the Lightbox: I realised that is just the title of the image so no problem there and no need for your input.

    Thanks for your help.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Album cover does not display’ is closed to new replies.