Mod 'improvement' ; Auto Resizing Images - نوشته شده در (9542 Views)
Retired Support Moderator
MarcelG
مطلب: 2625
2625
I was requested to assist Riccardo80 with the installation of the Auto Resize Images mod from WorkMule at SnitzBitz. It seems that Work Mules instructions aren't very clear to most people. I've tried to create an easier implementation method, with some clearer instructions, and it seems to be working ok. So, that's why I decided to at least share it here. You can download the entire mod with instructions here.
As we had a discussion about improvement of mod quality, perhaps this one is one to replace at SnitzBitz ? Just a thought. shy<
 پیش‌فرض مرتب‌سازی برای تاریخ DESC به معنی جدیدترین است  
 تعداد در صفحه 
نوشته شده در
New Member
Riccardo
مطلب: 86
86
Yes. He is right...i've implemented correctly and rapidly his instructions..good work!<
http://www.peperonciniamoci.it peppers and peppers and peppers (working on an international version)
نوشته شده در
New Member
goorootech
مطلب: 53
53
It IS nice and easy, thanks WorkMule and MarcelG for the effort in a fine mod addon - and soo much better rather than having a wide picture destroy your forum smile
A quick observation; you should be able to click on the 'large' popped up picture in order to close it rather than clicking the [x] close button... I'll see if I can change the code and post here when I have some time today or sometime this week.
Jason<
regards,
Jason Binder
نوشته شده در
Junior Member
Bassman
مطلب: 256
256
Very nice work WorkMule and Marcel, thanks.<
نوشته شده در
Retired Support Moderator
MarcelG
مطلب: 2625
2625
Added a new feature for this mod, to enable auto-resizing images on the profile page. Check it out here: http://www.oxle.com/topic.asp?TOPIC_ID=3153 (use demo/demo if you do not wish to register)<
نوشته شده در
کاربر قفل شده
eauxvives
مطلب: 145
145
Hi, nice work
there is a very smal mistake in instructions.htm
it says "Find the function ReplaceImgTags"
while I guess it should be "Find the function ReplaceImageTags"<
نوشته شده در
Snitz Forums Admin
ruirib
مطلب: 26364
26364
These instructions are a huge improvement over what existed before. Well done Marcel and thx.<
نوشته شده در
Retired Support Moderator
MarcelG
مطلب: 2625
2625
eauxvives, thanks for that ! I've updated the zip file. Rui ; you're welcome.<
نوشته شده در
Retired Support Moderator
MarcelG
مطلب: 2625
2625
Here's another addition. To show a red dashed border arounnd all resized images, add this line to resizeimgs.js.
Code:
thisimage.style.border = '1px dashed #FF0000'
It needs to be added above this line:
Code:
thisimage.title='Click the image to enlarge';
Demo: http://oxle.com/topic.asp?tid=3484 - some images have the red border around them...others don't. bigsmile Now I just need to add a small line below the image if it's resized, saying 'this image is resized, as it is too wide to show on the forum'. But, hey, the weekend is long! bigsmile<
نوشته شده در
Senior Member
tribaliztic
مطلب: 1532
1532
"some images have the red border around them...others don't."
is there a bug or is it supposed to be that way? =)
<
/Tribaliztic
- www.gotlandrace.se -
نوشته شده در
Retired Support Moderator
MarcelG
مطلب: 2625
2625
Only the resized images should have a border around them, indicating that they're not displayed at their full size. So, no, it's not a bug, it's a feature.<
شما باید یک متن وارد کنید