Author Topic: Adding {image_name} to description!!!! Possible???  (Read 6766 times)

0 Members and 1 Guest are viewing this topic.

Offline Sun Zaza

  • Sr. Member
  • ****
  • Posts: 399
    • View Profile
Adding {image_name} to description!!!! Possible???
« on: December 04, 2010, 10:21:34 AM »
Hi,

How can I add {image_name} to the image description?

Thank you in advance,
Cruxy

Rembrandt

  • Guest
Re: Adding {image_name} to description!!!! Possible???
« Reply #1 on: December 05, 2010, 06:25:52 AM »
automatically?
search in details.html:
Code: [Select]
<td valign="top" class="row1">{image_description}</td>and replace:
Code: [Select]
<td valign="top" class="row1">{image_name}  {image_description}</td>
mfg Andi

Offline Sun Zaza

  • Sr. Member
  • ****
  • Posts: 399
    • View Profile
Re: Adding {image_name} to description!!!! Possible???
« Reply #2 on: December 05, 2010, 08:38:21 AM »
Thanks Rembrandt for your reply.

I believe you did not understand me.

I mean using {image_name} in image descripition through ACP.

For example: The picture {image_name} was taking.....

And when I use {image_description} in details I get:
the picture was taking....

Thank you again in advance,
Cruxy

Offline x23piracy

  • Sr. Member
  • ****
  • Posts: 420
    • View Profile
    • FHG
Re: Adding {image_name} to description!!!! Possible???
« Reply #3 on: December 05, 2010, 01:06:33 PM »
Hi,

I believe you did not understand me.
I believe you didn't explained good enough,
you didn't told him exactly what you want.


Greetz X23

Don't trust in md5 it's unsafe change your 4i galerys password hash algorythm! second pw db field, create new hashes over some time, deny old hash. Help members that cry, send informationen mail to the rest. Camouflage new pw hash in cookie. Done!

--(◔̯◔)--

Offline Sun Zaza

  • Sr. Member
  • ****
  • Posts: 399
    • View Profile
Re: Adding {image_name} to description!!!! Possible???
« Reply #4 on: December 05, 2010, 01:11:12 PM »
You are right x23piracy. My mistake.

Is that possible to do that?

gr,
Cruxy

Rembrandt

  • Guest
Re: Adding {image_name} to description!!!! Possible???
« Reply #5 on: December 05, 2010, 06:24:49 PM »
Is that possible to do that?
sry, i not understand what you want do.

Offline Sun Zaza

  • Sr. Member
  • ****
  • Posts: 399
    • View Profile
Re: Adding {image_name} to description!!!! Possible???
« Reply #6 on: December 05, 2010, 06:34:09 PM »
Ok no problem. I will try to explain it again.

In the ACP i add this description to the image:

Quote
I took this foto "(I want hier the name of the image)" in Italy on 01-01-2010.

So instead of "(I want hier the name of the image)" I used {image_name}, but it didn't not work.

How can we do that please?

PS: Please don't tell me that you don't understand me, otherwise I will think that you are making jokes :wink:

Rembrandt

  • Guest
Re: Adding {image_name} to description!!!! Possible???
« Reply #7 on: December 05, 2010, 07:00:41 PM »
ok only as example, search in admin/images.php:
show_textarea_row($title"image_description"$image_row['image_description'], $textarea_size);
and replace:
show_textarea_row($title"image_description"$image_row['image_name']."&nbsp;".$image_row['image_description'], $textarea_size);

go to "edit images", and you can see the effect in the field "image description"

and you want the same effect wiht this  "{image_name}" ? I not understand the sense  :?

Offline Sun Zaza

  • Sr. Member
  • ****
  • Posts: 399
    • View Profile
Re: Adding {image_name} to description!!!! Possible???
« Reply #8 on: December 05, 2010, 08:12:02 PM »
Thanks Rembrand. Almost there.

Actually I want to use also other tags in the description. For example {image_city} as an additional field or something else.

So my question is: How can we use the tags {............} in the description textarea to show the value in the details page?

I give another example:

In the ACP I add this lines in the textarea of image description:

Quote
This image has {image_hits} views. but........

Maybe I am using a wrong tags {.....}. I don't know.

V@no said in 2006 that I was impossible in current version.
http://www.4homepages.de/forum/index.php?topic=13079.0

We are now almost in 2011. So maybe....