![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 | ||
Confirmed User
Industry Role:
Join Date: Oct 2018
Location: New Orleans, Louisiana. / Newcastle, England.
Posts: 1,116
|
![]() This code is working fine, however, when I right click on the image to save it, it doesnt have a .jpg extension, any idea why?
I have the header and extension in the code which should be enough to render it as a .jpg shouldnt it? Quote:
Quote:
![]()
__________________
NOTHING TO SEE HERE |
||
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,228
|
try
header('Content-Disposition: attachment; filename="whatever.jpg"');
__________________
Mechanical Bunny Media Mechbunny Tube Script | Mechbunny Webcam Aggregator Script | Custom Web Development |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Industry Role:
Join Date: Apr 2019
Posts: 657
|
Doing a church sign generator? I used to love those.
I can't test the code since it uses "imagick", some php extension, but unless there's a reason you have to use that, look into PHP's "imagecreate" function. And unless you have to use PHP, you can do this kind of stuff with just Javascript and canvas. Edit: I bothered to RTFM on the "Imagick" github when I was about to close the tab and it's in the Debian repo, so I tried it. Right clicking and saving in Firefox provides the extension, though it's .jpeg, not .jpg, ie "page.php.jpeg".
__________________
__________________ |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
Confirmed User
Industry Role:
Join Date: Oct 2018
Location: New Orleans, Louisiana. / Newcastle, England.
Posts: 1,116
|
Quote:
![]() Any idea about the image overlay / watermark thing? ![]() *edit* How do I stop the whatever.jpg auto downloading on page load?
__________________
NOTHING TO SEE HERE |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Industry Role:
Join Date: Oct 2018
Location: New Orleans, Louisiana. / Newcastle, England.
Posts: 1,116
|
eBook cover generator, hoping itll save my guys some time when it comes to processing new title covers
![]() Just have to figure out why the image overlay stuff isnt working lol
__________________
NOTHING TO SEE HERE |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Confirmed User
Industry Role:
Join Date: Oct 2018
Location: New Orleans, Louisiana. / Newcastle, England.
Posts: 1,116
|
One more issue I just discovered...
Quote:
__________________
NOTHING TO SEE HERE |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Confirmed User
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,228
|
Quote:
What about a rewriterule so the image URL ends in .jpg? line1|line2|line3.jpg or something.
__________________
Mechanical Bunny Media Mechbunny Tube Script | Mechbunny Webcam Aggregator Script | Custom Web Development |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() ![]() |
|||||||
|
|||||||
Bookmarks |
Thread Tools | |