I’m using the latest Tags 2.1.2 and have marked entries with the tag “lee hyori” and also associated images with the same tags in my gallery.
*Note: Since the inception of this post, there has been some new developments. They are detailed at the bottom of this post.
-
Problem?
The weblog entries are not displaying them at all. Frankly, the post that IS displaying something has no tags associated with it at all. I’ve tried reproducing the effect in concurrent posts with no tags, but the results are not being duplicated. It seems it only appears on the first post of the weblog (from what I’ve noticed anyway). I’ve tested this on two different dev boxes at two different locations with clean installs of ExpressionEngine 1.6.4 and the latest Tags module.
I’ve produced some replies over at this thread that has highlighted my first attempt.
-
List of Issues
* Tagged images are not being displayed in posts with the same tag.
* First weblog entries are producing images in the posts, however, they are not displaying ALL the results with the same tag. In my second install of EE, one image of 2 are only being displayed. In the first install on the first server, 2 of the 3 were being displayed. It seems there is a disregard for tags, and they are appearing no matter what, but only in an isolated circumstance (first post of the weblog).
-
My Code & Settings
The tag I have used is “lee hyori”. Below is also the code of associated templates in relation to the problem.
product/index (Weblog Entry Page):
{embed="site_embeds/header"}
{embed="site_embeds/masthead"}
<div id="content">
{exp:weblog:entries weblog="products" limit="1"}
<h1>{title}</h1>
{body}
{/exp:weblog:entries}
{embed="site_embeds/related_gallery" url_title="{segment_2}"} (I've tried embedding with & without the "url_title" parameter; no differences.)
</div>
{embed="site_embeds/footer"}
site_embeds/related_gallery (Linked from Weblog Entry Page):
{exp:tag:related_gallery_entries gallery="product_gallery" limit="20"}
{entries}
{row}
<img src="{thumb_url}" class="border" width="{thumb_width}" height="{thumb_height}" border="0" title="{title}" />
WTF
{title}
{/row}
{/entries}
{/exp:tag:related_gallery_entries}
-
Details about attached images
post.jpg
The outputted page viewed in browser of the weblog entry. Note that it is displaying an image tagged with “lee hyori” and the included term “WTF” from the embedded “related_gallery” template on an entry in which no tag was associated with. And even when a tag is associated, it changes nothing and seems to have no affect on the output of the related gallery images.
post_edit.jpg
A look at the “Tag” tab in the Edit page for the weblog entry that is displaying the related gallery image. Note the title, which shows this edit page applies to the page just detailed above.
img_tag.jpg & img_tag2.jpg
A look at the image edit pages through Gallery Extended. As circled in red, the tag “lee hyori” exists in both pictures, but only one seems to be outputted to an entry.
-
New update
I’ve mingled a bit more, and was able to get ALL images to display rather than the previous 1 of 2 associated with a tag on a weblog entry. The problem? It is displaying in EVERY weblog entry, regardless what tag they have or do not have at all..
-
-
Thanks again,
Danny
