Thank you very much. That is what I needed to know. Also thank you for your advice, I will do that.
Thank you for a quick reply. The problem is that $picture->pictureName is coming from the database. In the database these picture names are stored without any extension as I use these picture names for some another purposes as well. Do you know if there are any possible constructions like:
I have a web page with some pictures. Most of them are in .jpg format, but I also have some in .png format. I need to make a universal link which could let me display both format pictures. At the moment my code looks like this:
If you can help me please, how I need to change the line started with "<a href..." and "<img...", so two formats could be displayed?
Hi! I am making a small website and I would like to use a fancyBox for my pictures. Could you please advise me which is the best way to implement this? At the moment I found two options. The first option is to download fancyBox folder to my public directory in my Laravel project and to add links to those files in my main view file. The second option is just to link directly to fancyBox files on cdnjs. If there is any other better option? Thank you in advance!