Google does not index the full-sized image Google does not index the full-sized image
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Google does not index the full-sized image

Started by serg5777, April 27, 2012, 04:17:26 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

serg5777

More recently noticed that Google does not index the full-sized image. The fact that the transition to full-sized image via javascript, and Google does not pass through it. It is therefore necessary to prohibit the opening of a full-size images via javascript, but to a direct link to it, and Google to no problems on it went.
I replaced this code:
{$pic_html .= "<a href=\"javascript:;\" onclick=\"MM_openBrWindow('displayimage.php?pid=$pid&amp;fullsize=1','" . uniqid(rand()) . "','scrollbars=yes,toolbar=no,status=no,resizable=yes,width=$winsizeX,height=$winsizeY')\">";}

At this:
{$pic_html = "<a href=\"" . $picture_url . "\"  )>";}

But unfortunately this code to the intermediate image (normal), and need full-size. Αndré help solve this question. Thank you very much.

http://s019.radikal.ru/i628/1204/87/81ab0cffd2b5.jpg

serg5777


serg5777

It seems he has understood  ::)
{$pic_html = "<a href=\"" . get_pic_url($CURRENT_PIC_DATA, 'fullsize') . "\" >";}
Is it true? :)

serg5777

Still did not work for me. Is there any way to make the transition from the intermediate image came not through JavaScript, and the direct link:
{$pic_html .= "<a href=\"javascript:;\" onclick=\"MM_openBrWindow('displayimage.php?pid=$pid&amp;fullsize=1','" . uniqid(rand()) . "','scrollbars=yes,toolbar=no,status=no,resizable=yes,width=$winsizeX,height=$winsizeY')\">";}

http://url/displayimage.php?pid=1&fullsize=1

Maybe then Google will be able to click on this link and index the full-sized image :)

serg5777

Completely solved the problem. Thank you for your concern ;)

Αndré

Quote from: serg5777 on April 28, 2012, 09:34:21 PM
Completely solved the problem.
Quote from: Joachim Müller on September 28, 2008, 12:46:26 PM
Resolve your threads
If you have found an answer to your question, resolve your thread. Don't just post "I have found the answer", but tell others what you actually did to solve your issues. Posting a link to the page where you found the answer might help. Describing what you did might help as well.

I assume you used
$pic_html .= "<a href=\"displayimage.php?pid=$pid&amp;fullsize=1'\">";

serg5777

Under the image I used the melon code:
<a target=_blank href="http://megawallpapers.ru/displayimage.php?pid={pid}&amp;fullsize=1">Скачать обои</a>

and in add theme_html_picture:
'{pid}' => $CURRENT_PIC_DATA['pid']

And clicking on the intermediate image is displayed only full-sized image.
In theme_html_picture:
{$pic_html = "<a target=_blank href=\"http://megawallpapers.ru/" . get_pic_url($CURRENT_PIC_DATA, 'fullsize') . "\">";}

Now I will wait for the Google-bot. I have to index the full-size images accurately. Thank you ;)