Question: The Image Of The Slider Blank

The Image Of The Slider Blank

Good morning friends, how can I not leave the image of the slider blank if I update without loading one and leave the slider that had already been loaded previously. 'image' => DEMO ? 's

HR

Hector Rojas

Asked
Good morning friends, how can I not leave the image of the slider blank if I update without loading one and leave the slider that had already been loaded previously.


'image' => DEMO ? 's1.jpg' : (!empty($uploaded['image1']) ? $uploaded['image1'] : ''),


PS: Excuse me for my English.


Thank you very much for your time and help.


Kind regards.
  • MS

    Mian Saleem

    Answered
    Hello,

    If you leave the image 1 and link 1 empty the slider won't he shown on the page. You will need to have both to display it.

    Thank you
  • HR

    Hector Rojas

    Answered
    Sorry Mian, I think you did not understand my question, the problem is that if I add the slider 2 and 3, the 1 that is already saved is automatically deleted and in fact it does not show any, I must add them all again, the idea is that I can update only those that are blank and do not delete those that I already have loaded.


    PS: Excuse me for my English.


    Thank you very much for your time and help.


    Kind regards.
  • MS

    Mian Saleem

    Answered
    Hello,

    That might be due to slider 1 image as I can't set the previous image on the settings page. I will check about this in future updates.

    Thank you
  • Login to Reply