picture gallery options

  • 1
  • Question
  • Updated 6 years ago
Picture gallery: the four options dont provide a solution, what I really need is a simple square shaped image, no borders or rounded edges and not butted up to each other, Is this possible?

Thanks
Photo of irishshogun

irishshogun

  • 33 Posts
  • 1 Reply Like

Posted 6 years ago

  • 1
Photo of Philip Taylor

Philip Taylor

  • 355 Posts
  • 66 Reply Likes
This is fairly simple to do in HTML, using a table. The code below gives you a block of 3x3 pics, with 5 pixels gap between them and no borders. You can add other td sections for more pics per row, and more tr sections for more rows. The example refers to a pic called bike.jpg in my Resources folder; just substitute with one of yours.


<table style="border:0;padding:5px">
<tr>
<td><a href="yourpage.php"><img src="resources/bike.jpg" alt="your text if pic not visible" title="Description of your pic"></a></td>
<td><a href="yourpage.php"><img src="resources/bike.jpg" alt="your text if pic not visible" title="Description of your pic"></a></td>
<td><a href="yourpage.php"><img src="resources/bike.jpg" alt="your text if pic not visible" title="Description of your pic"></a></td>
</tr>
<tr>
<td><a href="yourpage.php"><img src="resources/bike.jpg" alt="your text if pic not visible" title="Description of your pic"></a></td>
<td><a href="yourpage.php"><img src="resources/bike.jpg" alt="your text if pic not visible" title="Description of your pic"></a></td>
<td><a href="yourpage.php"><img src="resources/bike.jpg" alt="your text if pic not visible" title="Description of your pic"></a></td>
</tr>
<tr>
<td><a href="yourpage.php"><img src="resources/bike.jpg" alt="your text if pic not visible" title="Description of your pic"></a></td>
<td><a href="yourpage.php"><img src="resources/bike.jpg" alt="your text if pic not visible" title="Description of your pic"></a></td>
<td><a href="yourpage.php"><img src="resources/bike.jpg" alt="your text if pic not visible" title="Description of your pic"></a></td>
</tr>
</table>
Photo of irishshogun

irishshogun

  • 33 Posts
  • 1 Reply Like
Thanks Philip, I appreciate the knowledge, but it was the picture gallery gallery options I was hoping for additional options, that way I still retain the pop up image and the automatic resizing, Thanks again
Photo of Stefan

Stefan, Official Rep

  • 4448 Posts
  • 190 Reply Likes
Hello irishshogun

I'm afraid that there are no additional display options for the Picture Gallery Widget. All options available are shown in the dialogue box.

You could browse other third-party providers for the option you want. Here are some links to tutorials which may be helpful for you:

You could also search this forum for third-party picture galleries which Yola users added to their websites.