sonnb - XenGallery (XenForo Gallery) [Deleted]

Doesn't the title of each photo show up anywhere? When you upload a photo you got 2 fields, title and description, but the title of the photo doesn't seem to show up anywhere (????)
It will not show up in BBCode as its layout is the image only.

That did nothing. How do I simply achieve this? All the information properly spaced below the image - centered.

View attachment 59879
Depends which one you want to use. I used photo title for this:
Code:
<xen:require css="sonnb_xengallery_bbcode_photo.css" />

<a class="photoBbcode" href="{xen:link gallery/photos, $photo}"
    title="{xen:helper wordTrim, $photo.description, 100}">
    <img src="{xen:if '{$tag.option} == "small"', $photo.thumbnailSmall, $photo.thumbnailUrl}" />
</a>
<div style="margin-top: 10px;">
    <a href="{xen:link gallery/photos, $photo}">{$photo.title}</a> by {xen:helper username, $photo} on {$xenOptions.boardTitle}
</div>
 
It will not show up in BBCode as its layout is the image only.


Depends which one you want to use. I used photo title for this:
Code:
<xen:require css="sonnb_xengallery_bbcode_photo.css" />

<a class="photoBbcode" href="{xen:link gallery/photos, $photo}"
    title="{xen:helper wordTrim, $photo.description, 100}">
    <img src="{xen:if '{$tag.option} == "small"', $photo.thumbnailSmall, $photo.thumbnailUrl}" />
</a>
<div style="margin-top: 10px;">
    <a href="{xen:link gallery/photos, $photo}">{$photo.title}</a> by {xen:helper username, $photo} on {$xenOptions.boardTitle}
</div>
I don't think you understand the issue. The text and links are aligned horribly. The text needs to be under photo and centered. Please see the difference. Nothing to do with the information.

Current BBCode.

Screen Shot 2013-10-27 at 5.48.01 AM.webp

How I want the text, below picture -centered.

Screen Shot 2013-10-27 at 5.50.20 AM.webp
 
I don't think you understand the issue. The text and links are aligned horribly. The text needs to be under photo and centered. Please see the difference. Nothing to do with the information.

Current BBCode.

View attachment 60003

How I want the text, below picture -centered.

View attachment 60004
You can edit the html as shown in photo, I believe you can change it as you want. Anyway, I still post it here:

HTML:
<xen:require css="sonnb_xengallery_bbcode_photo.css" />

<div style="display: inline-block;">
   <a style="display: inline-block;" class="photoBbcode" href="{xen:link gallery/photos, $photo}"
       title="{xen:helper wordTrim, $photo.description, 100}">
       <img src="{xen:if '{$tag.option} == "small"', $photo.thumbnailSmall, $photo.thumbnailUrl}" />
   </a>
    <div style="text-align: center;"><a href="{xen:link gallery/photos, $photo}">{$photo.title}</a> by {xen:helper username, $photo} on {$xenOptions.boardTitle}</div>
</div>
 
You can edit the html as shown in photo, I believe you can change it as you want. Anyway, I still post it here:

HTML:
<xen:require css="sonnb_xengallery_bbcode_photo.css" />

<div style="display: inline-block;">
   <a style="display: inline-block;" class="photoBbcode" href="{xen:link gallery/photos, $photo}"
       title="{xen:helper wordTrim, $photo.description, 100}">
       <img src="{xen:if '{$tag.option} == "small"', $photo.thumbnailSmall, $photo.thumbnailUrl}" />
   </a>
    <div style="text-align: center;"><a href="{xen:link gallery/photos, $photo}">{$photo.title}</a> by {xen:helper username, $photo} on {$xenOptions.boardTitle}</div>
</div>
Why is this not working for me, i copy and pasted code but it does not change the image and text, am i missing something?
 
2 questions

1) when using the widget Gallery - Top photos, there is a problem, if I click on the preview, will show the picture in a big way, but the paging buttons pictures do not work.
In the album of these buttons is a link to the next photo - project.ru/gallery/photos/17/ - its correct.

In viewing the widget buttons have no links - project.ru/# - not correct.
Image3.webp
It looks like the widget believes that the album is only 1 picture. And there is no more flipping.


2) I want to customize the widget as you have on your site (Most Viewed Photos)
What you need to specify the width block, the block height, widget group, position, etc?
I installed Xenporta, will insert a widget as you?
 
Importing an XF Thread into Gallery

How does it work please? What are the steps?
Which import option should I choose?
I have already imported Photopost into Xengallery. Now, I need to add some photos and comments I imported as threads from the VB user album into XF when I migrated earlier.
Thanks.
 
Why is this not working for me, i copy and pasted code but it does not change the image and text, am i missing something?
Can you please help me solve this issue? This image is from your site - the text is exactly where it should be, neatly below the picture aligned properly, on my site it is not. Please tell me the fix, I have tried all your suggestions with no luck.

Screen Shot 2013-10-29 at 5.11.20 AM.webp
 
Importing an XF Thread into Gallery

How does it work please? What are the steps?
Which import option should I choose?
I have already imported Photopost into Xengallery. Now, I need to add some photos and comments I imported as threads from the VB user album into XF when I migrated earlier.
Thanks.
Can you please help me solve this issue? This image is from your site - the text is exactly where it should be, neatly below the picture aligned properly, on my site it is not. Please tell me the fix, I have tried all your suggestions with no luck.

Replied on sonnb.com

2 questions

1) when using the widget Gallery - Top photos, there is a problem, if I click on the preview, will show the picture in a big way, but the paging buttons pictures do not work.
In the album of these buttons is a link to the next photo - project.ru/gallery/photos/17/ - its correct.

In viewing the widget buttons have no links - project.ru/# - not correct.
View attachment 60135
It looks like the widget believes that the album is only 1 picture. And there is no more flipping.


2) I want to customize the widget as you have on your site (Most Viewed Photos)
What you need to specify the width block, the block height, widget group, position, etc?
I installed Xenporta, will insert a widget as you?
1. Actually it works as I have expected. Since other photos in that album might not relation to that widget (for example most viewed), I decided to allow it to see only photo which you have clicked on.
2. You need Widget Framework to make it work, below is my current setting for that widget:

upload_2013-10-29_21-6-32.webp
 
I set a limit of 2 photos.

Add the album. The widget shows all the latest photos, such as 30 photos.

I go to the widget settings, the limit is 2, click save, the widget shows two photographs.

addition. obviously this is something to do with caching. This problem is only the owner of the album.
 
Last edited:
If the album is category - only for private group and if the widget - Latest photos, widget does not show these pictures to others users.

For example: a group of administration will always see your album in the widget, but the rest is nothing. This is wrong.

Logically, if the widget will show the administration of their album, and other users the widget should show previous public downloaded album.
 
I set a limit of 2 photos.

Add the album. The widget shows all the latest photos, such as 30 photos.

I go to the widget settings, the limit is 2, click save, the widget shows two photographs.

addition. obviously this is something to do with caching. This problem is only the owner of the album.
I need an account to test this. Please PM if possible.
how to move photos between albums?
It is inline moderation feature like XF does. When mouse hover the photo, the checkbox will be shown.
If the album is category - only for private group and if the widget - Latest photos, widget does not show these pictures to others users.

For example: a group of administration will always see your album in the widget, but the rest is nothing. This is wrong.

Logically, if the widget will show the administration of their album, and other users the widget should show previous public downloaded album.
It depends on the privacy of photos/albums. If user does not have permission to see then they will not see them.
 
@sonnb hi, I got a little problem right now that I'm wondering if you could help with.
My users are only able to tag photos they have uploaded, if they view photos by other users the tagging does not show for them.

I'm sure users used to be able to tag on any photos uploaded by anyone, I can not seem to find any settings to who can tag what?
 
@sonnb hi, I got a little problem right now that I'm wondering if you could help with.
My users are only able to tag photos they have uploaded, if they view photos by other users the tagging does not show for them.

I'm sure users used to be able to tag on any photos uploaded by anyone, I can not seem to find any settings to who can tag what?
Hello @Carla Birch ,

Currently, only users who can edit that photo/album can add tag for it. (Normally they are: owners, Mods and Admins).
 
Many thanks, could support in a later version be added so users can tag any photo/album that they are able to view. Tagging is a great way to get more people viewing photos and as a lot of our sites photos are groups of users being able to tag without giving away power to edit photos/albums would be great.
 
I found a more serious bug with the most recent version.

If Users are deleted their albums and pictures won't be deleted but instead get abandoned. Albums and pictures owned by a user should be deleted automatically if the user account gets deleted.
 
Back
Top Bottom