Maybe redirection based on request.env.http_referer ?
Not sure if I understood (not a twitter user) but if you give a link to an
actual tweet it may help :)

Marin

On Thu, Feb 13, 2014 at 2:27 PM, Jason Brower <[email protected]> wrote:

> Is there a way to redirect those that try to download an image directly
> to a new location?
> The reason is this...
> If I for example share this:
> https://melodigram.com/gram/20a40890-949c-11e3-97c0-1231390a0101
> on twitter.  I need to give it an image as well to show the product.
> But the image is clickable and goes to just the image and not the cool
> looking view I am working on that has sound added.
> Is there a way to catch the situation when the image is pulled alone and
> then redirect them to the correct location based on that image or url?
> BR,
> Jason Brower
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to