MyBB Community Forums

Full Version: [Release 1.4/1.6] Fit on Page (Update: v2.3 Released)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
(2010-12-19, 11:01 PM)Dale Wrote: [ -> ]G33K,

Do you have a line of code that you can insert to disable right click to save the image?

Thanks
Dale

It is pretty pointless to disable right click as it looks unprofessional and quite frankly it just doesn't work. Any user can easily overcome the right click protection and get to the image, not to mention theres more than one way to save the images. If you are so concerned about the images and their being downloaded you should try the gd image resizer and watermark your pictures.

If you must add a right click disable for the picture then you can put this where the popup code was in the fitonapage jscript

$('fop_img'+count).observe('contextmenu', function(event){
event.stop();});
Was actually looking for something like this Smile
(2010-12-20, 06:54 AM)- G33K - Wrote: [ -> ]
(2010-12-19, 11:01 PM)Dale Wrote: [ -> ]G33K,

Do you have a line of code that you can insert to disable right click to save the image?

Thanks
Dale

It is pretty pointless to disable right click as it looks unprofessional and quite frankly it just doesn't work. Any user can easily overcome the right click protection and get to the image, not to mention theres more than one way to save the images. If you are so concerned about the images and their being downloaded you should try the gd image resizer and watermark your pictures.

If you must add a right click disable for the picture then you can put this where the popup code was in the fitonapage jscript

$('fop_img'+count).observe('contextmenu', function(event){
event.stop();});

Thank you
Hi,
it's normal that images on PM aren't resized ?

Many thanks for this great plugin Big Grin
(2010-12-29, 02:11 PM)MaFeSa Wrote: [ -> ]Hi,
it's normal that images on PM aren't resized ?

Many thanks for this great plugin Big Grin

They are supposed to be resized. If its not resized please double check that the template edits are inserted as they should as posted in this post:
http://community.mybb.com/thread-53553-p...#pid582651

Hi,

Persian Language:
[attachment=21044]

More Information (Persian):
http://community.mybbiran.com/thread-2674.html

Thanks.
(2010-12-30, 01:15 AM)- G33K - Wrote: [ -> ]They are supposed to be resized. If its not resized please double check that the template edits are inserted as they should as posted in this post:
http://community.mybb.com/thread-53553-p...#pid582651

I checked and the template edits are inserted but nothing Sad

Many thanks G33K Wink
I'll look in to it.

EDIT: What do you know! Due to some changes somewhere its stopped working in the private messages. I've fixed it in my dev copy and just testing out making sure some other part didn't also stop working, once done will release the update.
Thanks G33K !!

A little request :p
Is possible to add an option for disable "Click this bar to view original image" leaving only "Click image to open in new window." ?
(2010-12-31, 10:00 AM)MaFeSa Wrote: [ -> ]Thanks G33K !!

A little request :p
Is possible to add an option for disable "Click this bar to view original image" leaving only "Click image to open in new window." ?

I'll see what I can do. That however will delay the release slightly till next week as I won't have much time to do anything this weekend.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37