strawdynamics/luminous

Remove Arrows if there is only one image

Closed this issue · 6 comments

Is there anyway to prevent < > Arrows to appears if there is only one image?

@xinxilas can you please post a codepen/codesandbox or code snippet showing your issue? I can't reproduce this at the moment. Are you using LuminousGallery or Luminous?

@frederickfogerty hello friend, im using LuminousGallery, because the html is "generic" generated by php, so sometimes the gallery will have 1 item most of the times it has more than one image

Ill post the html code later ok?

thank you very much

Well, i just coded the php file to include new Luminous(document.querySelector(".galeria")) intsead of LuminousGallery script when there is only one image

Thank you again

Hi @xinxilas, seems like you've found a way to work-around this. I'll still bring this up internally to see if this is something we should address.

OK, thank you !

Closing as there hasn't been much activity or movement on this - please feel free to comment back if this is still an issue!