Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
display links as thumbs in sidebar in an easy way
#1
Hello,

I was wondering if there's an easy way to put links as images (thumbs) in the sidebar?

This is my site: http://gs.wouterb.be/

At the moment I'm using a component:

Code:
<p>Photo albums:</p>

<a href="http://gs.wouterb.be/post/woesteland-bouwkamp-olst-4-2013"><img src="http://i.imgur.com/gZ2o2eIs.jpg" alt="" title="WoesteLand bouwkamp Olst 4-2013" /></a>

<a href="http://gs.wouterb.be/post/woeste-spellen-weekend"><img src="http://i.imgur.com/oQurTBLs.jpg" alt="" title="Woeste Spellen Weekend" /></a>

<a href="http://gs.wouterb.be/post/woestknot13"><img src="http://i.imgur.com/HagReGOs.jpg"  alt="" title="Woesteland Knotkamp 2013"/></a>

<a href="http://gs.wouterb.be/post/zondeval"><img src="http://i.imgur.com/R64gHYvs.jpg"  alt="" title="De Woeste Zondeval"/></a>


<br /><br /><br /> Tags: <?php nm_list_tags(); ?> <br /> <br />

Click <a href="http://wouterb.be/wbpress/"><u>here</u></a> to see my older photo's

Every time when I want to add a new gallery post/page I have to add a line of code in that component to get a thumb-link.

I thought maybe there's a shorter + easier way.

I was thinking myself about the Link manager 2 plugin. Problem is, it also adds the title of the link in text and I don't want that.
Reply
#2
Is that an earthship?

How are you doing your galleries ?
Surely you can come up with some thing to auto link your galleries. How do you pick the thumbnail?
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#3
(2013-06-14, 10:59:37)shawn_a Wrote: Is that an earthship?

How are you doing your galleries ?
Surely you can come up with some thing to auto link your galleries. How do you pick the thumbnail?

Indeed there is an Earthship project in Olst (Netherlands):

http://www.aardehuis.nl/en/

The galleries are from Imgur (allthough I think of going to use 23hq.com in the future), the thumbs are also from Imgur. I don't like the gallery plugin options in GetSimple. Imgur and 23hq.com can generate links to these galleries, but I want a link to a page on my site with a gallery embed in.
Reply
#4
hmm, with it being an external gallery it seems like it would be a bit difficult, you would have to have a script fetch the galleries and fetch a preffered thumb and auto link to them.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#5
(2013-06-14, 10:35:59)datiswous Wrote: I was thinking myself about the Link manager 2 plugin. Problem is, it also adds the title of the link in text and I don't want that.

Ok I figured out how to remove the link display in Link manager 2 output.

I removed the following code from the link template file (links_html.php):

Code:
<?php echo $link->name; ?>

This means that I can't use the plugin for other purposes though (links with text). Should be possible to alter it somehow that it would not show images if category "thumb" (example) is used.
Reply
#6
Maybe you can add something to it so you can target it with css and jsut change what you want. Or maybe i do not understand the problem.

Stick the text in a span or something so you can hide it.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#7
(2013-06-15, 01:34:19)shawn_a Wrote: Maybe you can add something to it so you can target it with css and jsut change what you want. Or maybe i do not understand the problem.

Stick the text in a span or something so you can hide it.

The text is generated by the plugin. I don't know how I would do that.
Reply




Users browsing this thread: 2 Guest(s)