Page 1 of 2

hide "imagevuex.php" in Sharing link

Posted: 15 Jan 2013, 08:37
by MarcoF
Hello,

If anybody will share a picture on facebook or twitter or Email the link will shown imagevuex.php.

Can i hide this?

Thank you very much

Re: hide "imagevuex.php" in Sharing link

Posted: 16 Jan 2013, 01:30
by Nick
I think you can copy it to, say, i.php and change iv-includes/templates/default/index.share.phtml accordingly where it says:
Code
<meta property="og:url" content="<?php echo htmlspecialchars(pageURL() . 'imagevue.php?share=/' . $this->item->getPrimary()); ?>" />

Re: hide "imagevuex.php" in Sharing link

Posted: 18 Jan 2013, 07:23
by MarcoF
Is it possible to change the "link-look"
from the current
http://www. . ....... .. .. .com/imagevue.php/?.../.img.294.jpg

to anything like this

http://www..... ... .com

Re: hide "imagevuex.php" in Sharing link

Posted: 18 Jan 2013, 11:12
by mjau-mjau
If you gonna share an image, it needs to be a link to the image ... How can it just end with ".com"?

Re: hide "imagevuex.php" in Sharing link

Posted: 18 Jan 2013, 12:27
by MarcoF
i mean anything like this code:

<a href="http://sitename.com"><img src="http://.....content/picture2007/image.jpg" height="20"></a>

or
<a href="http://www.sitename.com/imagevue.php.....">Imagename only</a>

Or hide "imagevue.php" via htaccess?

Re: hide "imagevuex.php" in Sharing link

Posted: 19 Jan 2013, 01:28
by mjau-mjau
I am not sure why you are offering html code with <a> and <img> tags ... The share link must be an URL (nothing to do with html), that points to the Imagevue script with parameters that tells what image to share. This is how Facebook gets the thumbnail, title and description also, by checking the given link with parameters so it can read the meta data. You cant remove these parameters ... Sorry. The links could look different, but we need to point to a controller script to make sure it also handles redirect of different devices.

You cannot "hide" anything with htaccess, although you can redirect ... but not sure where you would redirect, as it has to go to that page anyway.

Not sure why it is so critical to remove "imagevue.php", as it hardly seen for just a few seconds before it redirects. I wouldn't even notice it, and if I did, I certainly would not care.

Re: hide "imagevuex.php" in Sharing link

Posted: 19 Jan 2013, 02:35
by MarcoF
Hello,

I am wondering if i click at any picture and open this picture in a new browser tab, and see the pure picture link its just like this:
http://www.mydomain.com/images/gallery/ ... arco15.jpg

And if i share this picture its:
http://www.mydomain.com/images/gallery/ ... arco23.jpg


Its not critical to remove imagevue.php but i answered only if i have a chance to hide this and also get a fully pure link..

Re: hide "imagevuex.php" in Sharing link

Posted: 20 Jan 2013, 00:40
by mjau-mjau
You mean you want to change the sharing links so that they point directly to the file instead of inside your gallery? This means that when someone clicks to view the file from Facebook (etc.), they will see the picture but will not be able to access anything else.

Re: hide "imagevuex.php" in Sharing link

Posted: 21 Jan 2013, 13:33
by MarcoF
oh no, thats not what i want...


i think its been easier to change imagevue.php to another name, but ok,
if thats not possible, what should i do..

ok

thank you..

Re: hide "imagevuex.php" in Sharing link

Posted: 22 Jan 2013, 23:53
by Nick
How to change imagevue.php in the link:

viewtopic.php?p=32849#p32849

Re: hide "imagevuex.php" in Sharing link

Posted: 26 Jan 2013, 16:30
by MarcoF
Sorry but the link don't change with this code.

Re: hide "imagevuex.php" in Sharing link

Posted: 27 Jan 2013, 07:43
by mjau-mjau
MarcoF wrote:Sorry but the link don't change with this code.
No it is not possible. Furthermore, I think you have misunderstood how things work ...
MarcoF wrote:Its not critical to remove imagevue.php but i answered only if i have a chance to hide this and also get a fully pure link..
How can it be a pure link if it needs to link to the image inside your gallery? You could make it "pure" by linking directly to the image, but then nobody will see your gallery of course. You can't change how linking on the internet works.

Re: hide "imagevuex.php" in Sharing link

Posted: 31 Jan 2013, 07:39
by MarcoF
Hello,

I have seen at mariusphoto gallery that in the links are nothing about "imagevuex.php" .

I think if you write in your Purchase description that we have no restrictions and can remove imagevue backlink, then you could not name a main php called "IMAGEVUE". With this, the removal "option" is not the truth for me, sorry.

Sorry but thats not OK for a commercial Licence.



Regards

Re: hide "imagevuex.php" in Sharing link

Posted: 31 Jan 2013, 07:42
by MarcoF
And Im not angry or anything else.

The gallery is beautiful and great work. But I hope you understand and comprehend what i mean.


Thank you

Re: hide "imagevuex.php" in Sharing link

Posted: 31 Jan 2013, 11:31
by mjau-mjau
where exactly are you seeing this link though? When someone shares a link, it does not actually display this link on Facebook. Also, when they click the link, they will be redirected to a non-imagevue-php link anyway. At best, "imagevue.php" will be visible in the link for a 1-2 seconds while it redirects ... I doubt anyone will notice it ...

This is the file that controls all actions in Imagevue, and we had to call it something.
MarcoF wrote:I have seen at mariusphoto gallery that in the links are nothing about "imagevuex.php" .
As I mentioned, I am not really sure where you see "imagevue.php" anyway, but do you have a link to this gallery you mention? I am not sure what the difference is supposed to be ...