Find Jobs
Hire Freelancers

Create RAW GIF handler page for website

$30-250 USD

Slutfört
Publicerad ungefär nio år sedan

$30-250 USD

Betalning vid leverans
I have a viral image site ([login to view URL]) where people can view funny gifs. A lot of people on reddit are sharing the raw .gif files however, rather than the page with .gif embedded. This is fine but I'd like to redirect all people viewing raw image .gifs to a handler page called [login to view URL] (located in root directory). This handler page will look exactly the same - just with a share link and button to check out the rest of the site. Example of raw image location: [login to view URL] Share page location: [login to view URL] At this stage I have the redirection working properly. I can redirect all raw image gifs to the handler page. HOWEVER I can't get my handler page to collect the raw image file from the referring URL. So essentially if a user visits: [login to view URL] They should be redirected to [login to view URL] And on this shareraw page you'll see exactly the same thing as if you were looking at the raw .gif resource. Just with an added 2 buttons. On this [login to view URL] page I tried using the $_SERVER['HTTP_REFERER'] variable to collect the previous referer (which would be [login to view URL]). I would then be able to put that into a <img> element on the shareraw page, thus achieving my goal. UNFORTUNATELY the $_SERVER['HTTP_REFERER'] ONLY works if there's a header. So since the raw image .gif didn't have one, $_SERVER['HTPP_REFERER'] is NULL. With that all being said, I now need an alternate solution. If you think you can figure this out please bid. Note however I will only pay if the requirements are met. Which again are: -redirect all .raw gif address requests to a handler page (already done) -handler page needs to populate an <img> element with the referring .gif -alternate solutions are accepted as long as all raw .gif address requests go to a handler page with <img> element populated with that gif. There are multiple solutions here. Another solution may be to create .php files for each raw image gif on the server, and then just redirect the .gif to .php. Would need a program to do this because there are 17k gifs on the site. On each php file you'd just need to get the url address via $_SERVER then just delete the last 3 characters of the url and replace with a .gif - then that could populate the <img> element. -just an example of a possible alternate solution Additional points: -Site is being hosted on wordpress -Server configuration is nginx (I can change back to apache if I must) -test address is [login to view URL]
Project ID: 7486659

Om projektet

6 anbud
Distansprojekt
Senaste aktivitet nio år sedan

Ute efter att tjäna lite pengar?

Fördelar med att lägga anbud hos Freelancer

Ange budget och tidsram
Få betalt för ditt arbete
Beskriv ditt förslag
Det är gratis att registrera sig och att lägga anbud på uppdrag
Tilldelad till:
Använd avatar
Hello, I think the problem can be solved by some custom redirection (setup in the htaccess for apache server or in the config file of nginx) which redirects all files [login to view URL] to [login to view URL] and so the shareraw script can grab the file name from the img GET parameter. I can make it for you within max a day after you accept my bid. Regards, Tamas
$111 USD Om 1 dag
4,8 (158 omdömen)
5,7
5,7
6 frilansar lägger i genomsnitt anbud på $171 USD för detta uppdrag
Använd avatar
========Please Don't award this project to us without discussing this project in detail============ Hi, I (Myself a senior PHP, ASP.NET programmer using C# and VB) have a team having experience of more than 10 years in developing web and mobile applications. I have a team of expert programmers who write robust and bug-free codes at the very first instance. After seeing our quality of work and the cooperation offered to you even after the work has been delivered to you, you’ll come to us again and again to avail our services. I read through the job details extremely carefully and I am absolutely sure that I can do the project very well. I can achieve the results that you are asking for within your timeframe and budget. I am confident I can exceed your expectations and I would love to work on your project. Thanks, Priyanka
$309 USD Om 10 dagar
4,9 (38 omdömen)
6,3
6,3
Använd avatar
Nie złożono jeszcze oferty.
$110 USD Om 3 dagar
4,7 (52 omdömen)
5,4
5,4
Använd avatar
This is relatively easy. You want to create the redirect in the .htaccess file and pass the url. It would take about 2 -4 hours to do clean. Fyi I am a developer and data guy, I am not a graphic designer so I can't make it look pretty but I can get all your function and share button for the gif with the redirect.
$111 USD Om 3 dagar
0,0 (0 omdömen)
0,0
0,0

Om kunden

Flagga för CANADA
Vancouver, Canada
5,0
42
Verifierad betalningsmetod
Medlem sedan maj 10, 2014

Kundverifikation

Tack! Vi har skickat en länk för aktivering av gratis kredit.
Något gick fel med ditt e-postmeddelande. Vänligen försök igen.
Registrerade Användare Totalt antal jobb publicerade
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Laddar förhandsgranskning
Tillstånd beviljat för geolokalisering.
Din inloggningssession har löpt ut och du har blivit utloggad. Logga in igen.