Changing something on "Image Block"

bigu_c
bigu_c's picture

Joined: 2007-10-28
Posts: 421
Posted: Wed, 2009-06-10 09:28

This is what I want:

+ Linking TITLE of Albums.
+ Remove Thumbnail under TITLE

Please help me to do this with Image Block module.

Thanks!

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2009-06-11 00:36

Perhaps the http://www.flashyourweb.com/staticpages/index.php?page=mediaBlock has what you are after. I don't think the image block does what you are after.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
bigu_c
bigu_c's picture

Joined: 2007-10-28
Posts: 421
Posted: Thu, 2009-06-11 01:55

Its seem you don't understand my question.

Here is details....

[img]http://img199.imageshack.us/img199/3153/47304950.jpg[/img]

When you click on Thumbnails then you will browse to new album.

I want remove this thumbnails.

And Nature 091 and Art Cars will is anchor text of two links.

(Sorry for my english)

Thanks for your help!

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2009-06-11 03:23
Quote:
When you click on Thumbnails then you will browse to new album.

That is the behavior for albums not items. Unless I still don't understand.

Quote:
And Nature 091 and Art Cars will is anchor text of two links.

Edit modules/imageblock/templates/ImageBlock.tpl move {$block.item.title|markup} to inside the link with the image.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
bigu_c
bigu_c's picture

Joined: 2007-10-28
Posts: 421
Posted: Thu, 2009-06-11 03:45

I want title "Art Cars" will is a link. When click on this link will link to album.

Please help me!

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2009-06-11 03:57

Did you try what I suggested?
Edit modules/imageblock/templates/ImageBlock.tpl move {$block.item.title|markup} to inside the link with the image.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
bigu_c
bigu_c's picture

Joined: 2007-10-28
Posts: 421
Posted: Thu, 2009-06-11 15:05

I changed from:

Quote:
{$link}
{g->image item=$imageItem image=$block.thumb id="%ID%" class="%CLASS%" maxSize=$maxSize forceFullUrl=$ImageBlockData.forceFullUrl}
{if !empty($linkHref)} </a> {/if}
{/g->container}
{else}
{$link}
{g->image item=$imageItem image=$block.thumb class="giThumbnail" maxSize=$maxSize forceFullUrl=$ImageBlockData.forceFullUrl}
{if !empty($linkHref)} </a> {/if}
{/if}

To:

Quote:
{$link}
{* {g->image item=$imageItem image=$block.thumb id="%ID%" class="%CLASS%" maxSize=$maxSize forceFullUrl=$ImageBlockData.forceFullUrl} *}
{if !empty($linkHref)} </a> {/if}
{/g->container}
{else}
{$link}
{* {g->image item=$imageItem image=$block.thumb class="giThumbnail" maxSize=$maxSize forceFullUrl=$ImageBlockData.forceFullUrl} *}
{if !empty($linkHref)} </a> {/if}
{/if}

And:

From:

Quote:
{if isset($ImageBlockData.show.title) && isset($block.item.title)}
<h4 class="giDescription">
{$block.item.title|markup}
</h4>
{/if}

To:

Quote:
{if isset($ImageBlockData.show.title) && isset($block.item.title)}
<h4 class="giDescription">
<a href="{$linkHref}" title="{$block.item.title|markup}"> {$block.item.title|markup}</a>
</h4>
{/if}

Is this right or anything wrong?

Thank you Dave.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2009-06-12 00:00

Looks like it is OK to me... if it works it works!

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
bigu_c
bigu_c's picture

Joined: 2007-10-28
Posts: 421
Posted: Thu, 2009-06-18 17:15

I want to add new feature on this module: Display last changed albums,

What can I do?

Thanks Dave.

 
bigu_c
bigu_c's picture

Joined: 2007-10-28
Posts: 421
Posted: Thu, 2009-07-30 02:27
Quote:
Opel Classic
Opel Classic
Opel Classic
Opel Classic
Opel Classic
Opel Classic
Kia VG
Kia VG
Kia VG
Kia VG
Kia VG
Kia VG
Ferrari 458 Italia
Ferrari 458 Italia
Ferrari 458 Italia

URL -> http://www.desktopcar.net/

I setup showing number of items is "15"

Why it's showing duplicate like this?

Thanks!

 
bigu_c
bigu_c's picture

Joined: 2007-10-28
Posts: 421
Posted: Fri, 2009-09-11 09:06

This module displays ONE COLUMN.

How can I change to display in ONE ROW?

Thanks!

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2009-09-12 18:54