MyBBHacks.com Plugins for  MyBB

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Category-Image centered?
#1
Hello, I really do not want to annoy you, but I have one more question.

Is it possible to get the category graphic in the center of the td?


Attached Files Thumbnail(s)
   
Reply
#2
You would need to add align="center" that td
Like what I do? Support me at https://www.patreon.com/vbgamer45/
Reply
#3
but where do I find that td? Wink
Reply
#4
ezgallery.php line 915 to 918
Code:
                    if($row['filename'] == '')
                        echo '<td class="trow1" width="10%"><a href="' . $cat_url . '"><img src="' . $row['image'] . '" alt=""  /></a></td>';
                    else
                        echo '<td class="trow1" width="10%"><a href="' . $cat_url . '"><img src="' . $gallerySettings['gallery_url'] . 'catimgs/' . $row['filename'] . '" alt="" /></a></td>';
Like what I do? Support me at https://www.patreon.com/vbgamer45/
Reply
#5
thank you very much!
Reply
#6
sorry, it's me again

I changed this to:
Code:
if($row['filename'] == '')
                        echo '<td class="trow1" width="10%" align="center"><a href="' . $cat_url . '"><img src="' . $row['image'] . '" alt=""  /></a></td>';
                    else
                        echo '<td class="trow1" width="10%" align="center"><a href="' . $cat_url . '"><img src="' . $gallerySettings['gallery_url'] . 'catimgs/' . $row['filename'] . '" alt="" /></a></td>';

but the images are still at the left side of the td
Reply
#7
Is that a subcateogry or main category
Like what I do? Support me at https://www.patreon.com/vbgamer45/
Reply
#8
subcategory
Reply
#9
Then it is around lin 11287 to 11290
Like what I do? Support me at https://www.patreon.com/vbgamer45/
Reply
#10
I found it this moment by myself; thank you

that looks much better!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)