Author Topic: how i can add {image_name} to {image_keywords} and {image_description}  (Read 14020 times)

0 Members and 1 Guest are viewing this topic.

SnaFy

  • Guest
holle guys
can i add {image_name} to {image_keywords} and {image_description} automatic
I have tried in the case of functions.php, but I failed
If possible, you know how I can add words to the fields is automatic, please

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: how i can add {image_name} to {image_keywords} and {image_description}
« Reply #1 on: November 23, 2008, 03:50:03 AM »
I'm not sure I understand your question.
Where do you want add image name? just in the templates or where exactly?
Please explain in details if you can.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline nguago

  • Newbie
  • *
  • Posts: 28
    • View Profile
    • LetVN
Re: how i can add {image_name} to {image_keywords} and {image_description}
« Reply #2 on: November 23, 2008, 04:30:06 AM »
Code: [Select]
<meta name="description" content="{image_description},{image_name}">
<meta name="keywords" content="{image_keywords},{image_name}">

Right?
Thanks 4Images !
I'm have some error, help me !
My Yahoo: nghiavotinh3009
http://let.vn

SnaFy

  • Guest
Re: how i can add {image_name} to {image_keywords} and {image_description}
« Reply #3 on: November 23, 2008, 04:54:02 AM »
 I mean the image name added to the fields image_keywords and image_description in details.html
Example
V@no People help people
 :roll:
description:V@no  A good person and help all people <V@no People help people
keywords :V@no, People, help, people
I hope you get me

SnaFy

  • Guest
Re: how i can add {image_name} to {image_keywords} and {image_description}
« Reply #4 on: November 23, 2008, 04:56:14 AM »
Code: [Select]
<meta name="description" content="{image_description},{image_name}">
<meta name="keywords" content="{image_keywords},{image_name}">

Right?
Thanks friend, but I do not mean this

Offline nguago

  • Newbie
  • *
  • Posts: 28
    • View Profile
    • LetVN
Thanks 4Images !
I'm have some error, help me !
My Yahoo: nghiavotinh3009
http://let.vn

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: how i can add {image_name} to {image_keywords} and {image_description}
« Reply #6 on: November 23, 2008, 06:38:32 AM »
Are you trying add image name into the description and into keywords section at details page, under (or where ever in your design) the image itself?
What stops you from adding {image_name} tag next to {image_description} and {image_keywords} ?
« Last Edit: November 24, 2008, 12:10:42 AM by V@no »
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

SnaFy

  • Guest
Re: how i can add {image_name} to {image_keywords} and {image_description}
« Reply #7 on: November 23, 2008, 11:55:58 PM »
Thanks friend nguago
Are you trying add image name into the description and into keywords section at details page, under (or where ever in your design) the image itself?
What's stops you from adding {image_name} tag next to {image_description} and {image_keywords} ?
yes iam trying add image name into the description and into keywords section at details page
I can not tell you what steps are done because I used an interpreter

Please help

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: how i can add {image_name} to {image_keywords} and {image_description}
« Reply #8 on: November 24, 2008, 12:09:47 AM »
I can not tell you what steps are done because I used an interpreter
"stops" not "steps" ;)

Anyway, what I meant was add {image_name} tag next to {image_description} and {image_keywords} in the template....
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

SnaFy

  • Guest
Re: how i can add {image_name} to {image_keywords} and {image_description}
« Reply #9 on: November 24, 2008, 12:32:35 AM »
but Not working properly
Example
if i add {image_name} tag next to {image_keywords}
the word Show without a url
i need like that
http://my site .com/search.html?search_keywords={image_name}

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: how i can add {image_name} to {image_keywords} and {image_description}
« Reply #10 on: November 24, 2008, 12:54:45 AM »
try this then:
Code: [Select]
<?php
global $site_sess;
echo 
'<a href="'.$site_sess->url(ROOT_PATH."search.php?search_keywords=".urlencode("{image_name}")).'">{image_name}</a>';
?>
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

SnaFy

  • Guest
Re: how i can add {image_name} to {image_keywords} and {image_description}
« Reply #11 on: November 24, 2008, 01:08:13 AM »
I'm sorry for the inconvenience and questions Thanks very much to help, but where add this code in  details.html
 ??

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: how i can add {image_name} to {image_keywords} and {image_description}
« Reply #12 on: November 24, 2008, 01:32:29 AM »
next to {keywords}
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline nguago

  • Newbie
  • *
  • Posts: 28
    • View Profile
    • LetVN
Re: how i can add {image_name} to {image_keywords} and {image_description}
« Reply #13 on: November 24, 2008, 04:33:49 AM »
A ha, I understand wrong. now understand.
Thanks 4Images !
I'm have some error, help me !
My Yahoo: nghiavotinh3009
http://let.vn

Offline nguago

  • Newbie
  • *
  • Posts: 28
    • View Profile
    • LetVN
Re: how i can add {image_name} to {image_keywords} and {image_description}
« Reply #14 on: November 24, 2008, 05:08:43 AM »
try this then:
Code: [Select]
<?php
global $site_sess;
echo 
'<a href="'.$site_sess->url(ROOT_PATH."search.php?search_keywords=".urlencode("{image_name}")).'">{image_name}</a>';
?>

I edited:

look for:
Quote
{image_keywords}

replace with
Quote
{image_keywords}, <?php
global $site_sess;
echo '<a href="'.$site_sess->url(ROOT_PATH."search.php?search_keywords=".urlencode("{image_name}")).'">';
?>{image_name}</a>
Thanks 4Images !
I'm have some error, help me !
My Yahoo: nghiavotinh3009
http://let.vn