[ABD] Real Remote [img] Resize v.0.0.2

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

[ABD] Real Remote [img] Resize v.0.0.2

Post by 4_seven » Sat Jan 23, 2010 1:12 pm

Real Remote Image

MOD-Title: Real Remote Image

Image follows

Download: http://4seven.kilu.de/forum/phpbb3/view ... f=22#p1178

Features:
- thumbing of posted external site [img]
- true resize, no javascript client resize, that makes [img]'s only optically smaller
- thumbs storing on your own server
- screen-mode (published) and base-mode (unpublished)
- don't effects allready local stored [img]'s
- thumb output width is adjustable, to have perfect forum fit
- so [img]'s works in harmony with given [attachment]'s max width
- also no minuted remote linking and stolen bandwidth
- optional highslide in screen-mode with link-zoom to original-pic

Requirements: fopen()
Explanations

Screen-Mode:
- remote-pics are copied to given folder, resized and displayed with local-link
- local filenames are converted to mixed md5
- optional highslide-mode with link-zoom to origin-pic
- by edit u see the origin remote-link
- by review-reply ore quote u see the transformed local-link
- works in all areas: search, viewtopic, posting
- no update to database

Description:
- remote pics have the perfect size, so the forum have the exact fit
- pics are truly physical resized, not only client-sided (eg. with java)
- pics are stored on your own server (which makes the forum faster)
- no more worry about dead-links

The Working Mode:
- even if a topic-site turn to the next site or "it is full" a button appears, that is normally 'admin-only':
[Convert [img] on this page] http://4seven.kilu.de/phpbb3/viewtopic. ... 19&start=0
- wait a little, then all remote-img will be converted
- after that the [Delete converted [img]] button appears so u can delete all pics on this topic-site to eg. update edited pics
- when u edit your img-post (or from others, with given rights) u see the origin remote-link
- when u review-reply or quote the img-post, it transforms automatically the (hidden) remote-link to the local-link and filename
- from now on the script ignore this quoted img-post, bcs. it have allready local-links
- local img-links will be strictly ignored
Planned:
- ACP??

Notes:
- No display of protected remote pics

-----------------

New in v.0.0.2:
- Fixing Behavior named here: http://www.phpbb.com/community/viewtopi ... #p12800374
- Adding Language Entry
Last edited by 4_seven on Sat Apr 23, 2011 4:39 pm, edited 52 times in total.
Current Mods | Mod Base | php(BB) programming | No help via PM

User avatar
imkingdavid
Former Team Member
Posts: 2667
Joined: Sun Jul 26, 2009 7:59 pm
Location: EST
Name: David King

Re: [DEV] Real Remote [img] Resize v.0.0.1

Post by imkingdavid » Sat Jan 23, 2010 3:45 pm

That'll be nice. :) I'll have to look through the code because I've been wondering how to resize images on the server side. :lol: Good luck!
Don't forget to smile today. :)
Please do NOT contact for support via PM or email.
Remember, the enemy's gate is down.

User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] Real Remote [img] Resize v.0.0.1

Post by 4_seven » Sat Jan 23, 2010 4:26 pm

Code is allready realized and tested.

Testing behaviors and possibilities this time..
Last edited by 4_seven on Sat Feb 13, 2010 7:51 pm, edited 1 time in total.
Current Mods | Mod Base | php(BB) programming | No help via PM

User avatar
eunaumtenhoid
Registered User
Posts: 876
Joined: Wed Jun 03, 2009 12:46 am
Location: ????

Re: [DEV] Real Remote [img] Resize v.0.0.1

Post by eunaumtenhoid » Sat Jan 23, 2010 4:57 pm

nice marked^^
My translations of the extensions for Brazilian Portuguese
https://github.com/phpBBTraducoes

User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] Real Remote [img] Resize v.0.0.1

Post by 4_seven » Fri Jan 29, 2010 11:26 pm

redesign > now it works in 2 possible modes

screen- and base-mode
Last edited by 4_seven on Sat Feb 13, 2010 7:47 pm, edited 7 times in total.
Current Mods | Mod Base | php(BB) programming | No help via PM

User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] Real Remote [img] Resize v.0.0.1

Post by 4_seven » Sat Jan 30, 2010 3:35 am

reduce install
only 1 edit, making 1 folder and 1 chmod
Last edited by 4_seven on Sat Feb 13, 2010 7:47 pm, edited 1 time in total.
Current Mods | Mod Base | php(BB) programming | No help via PM

User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] Real Remote [img] Resize v.0.0.1

Post by 4_seven » Sat Jan 30, 2010 7:44 pm

Now build Test-Threads
Current Mods | Mod Base | php(BB) programming | No help via PM

User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] Real Remote [img] Resize v.0.0.1

Post by 4_seven » Sun Jan 31, 2010 1:30 am

Last edited by 4_seven on Sun Mar 21, 2010 11:47 pm, edited 2 times in total.
Current Mods | Mod Base | php(BB) programming | No help via PM

User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] Real Remote [img] Resize v.0.0.1

Post by 4_seven » Fri Feb 12, 2010 2:02 am

[DEV] Info

- timeline till first release ~ 5-6 week
Last edited by 4_seven on Wed Mar 03, 2010 10:52 pm, edited 3 times in total.
Current Mods | Mod Base | php(BB) programming | No help via PM

User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] Real Remote [img] Resize v.0.0.1

Post by 4_seven » Fri Feb 12, 2010 12:13 pm

[DEV] Info

- Now also the screen-mode have a mixed-md5-rename, so it's impossible to crawl the pics via google etc.
- optional highslide-mode with link-zoom to original-pic (screen-mode only)
Last edited by 4_seven on Mon Apr 26, 2010 9:39 pm, edited 1 time in total.
Current Mods | Mod Base | php(BB) programming | No help via PM

User avatar
ashras99
Registered User
Posts: 441
Joined: Mon Dec 19, 2005 9:09 pm

Re: [DEV] Real Remote [img] Resize v.0.0.1

Post by ashras99 » Sat Feb 13, 2010 8:00 pm

I am also using Highslide attachment 4.1.8, so we can use both without conflcting each other?

Secondly, what's the difference in screen or base mode. Not able to understand through demo.

Where's the download link?

User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] Real Remote [img] Resize v.0.0.1

Post by 4_seven » Sat Feb 13, 2010 8:10 pm

ashras99 wrote:Secondly, what's the difference in screen or base mode.
if u read the first post http://www.phpbb.com/community/viewtopi ... #p11835415 attentive u find this
ashras99 wrote:screen-mode:
- file is remote-copied to given folder, resized and displayed with local-folder-link and given size
- filenames are converted to mixed md5
- optional highslide-mode with link-zoom to original-pic
- by edit , reply ore quote u see the origin link
- no path-change to database

base-mode:
- file is remote-copied to given folder, resized and displayed with local-folder-link and given size
- filenames are converted to mixed md5
- by edit , reply ore quote there is the local link only
- database is real updated to the new local path
and, the demos speaks for itself if u testwise quote a post or/and see the properties of pic links.
also read content of quote-box here: http://www.phpbb.com/community/viewtopi ... #p12032095
ashras99 wrote:I am also using Highslide attachment 4.1.8, so we can use both without conflicting each other?
no problem. they live together, bcs. of other structure in this mod
ashras99 wrote:Where's the download link?
first post wrote:Download: (follows)
http://www.phpbb.com/community/viewtopic.php?p=12029325#p12029325 wrote:[DEV] Info

- timeline till first release ~ 5-6 week
and, before u misunderstand the working-mode of this mod:
- true resize, no javascript client resize, that makes [img]'s only optically smaller
- thumbs storing on your own server
Last edited by 4_seven on Wed Mar 03, 2010 10:52 pm, edited 1 time in total.
Current Mods | Mod Base | php(BB) programming | No help via PM

User avatar
DoYouSpeakWak
Registered User
Posts: 2307
Joined: Fri Jul 25, 2008 1:32 pm
Location: Island of Wak-Wak
Name: Hans Lassen
Contact:

Re: [DEV] Real Remote [img] Resize v.0.0.1

Post by DoYouSpeakWak » Sun Feb 14, 2010 11:22 am

I love the idea of not resizing each image each time the image is shown. But does this mean that each time a user posts remote image using the img bbcode that the image is saved on my server ready to be showed next time ?
Whatever you share comes back. Support the phpBB Communities
My Validated and Released Modifications
Offering paid phpBB help and System administrator services.

User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] Real Remote [img] Resize v.0.0.1

Post by 4_seven » Sun Feb 14, 2010 1:17 pm

yes
Current Mods | Mod Base | php(BB) programming | No help via PM

User avatar
DoYouSpeakWak
Registered User
Posts: 2307
Joined: Fri Jul 25, 2008 1:32 pm
Location: Island of Wak-Wak
Name: Hans Lassen
Contact:

Re: [DEV] Real Remote [img] Resize v.0.0.1

Post by DoYouSpeakWak » Sun Feb 14, 2010 5:53 pm

Seems like a perfect solution if you got enough space on your server.

Performance is really bad with other image resizers that resized each image with java. This could be the solution.

What about existing boards, if i have 5000K posts with 12-15 images in each. Will they simple be loaded once at first view after install and saved or how will that work ?
Whatever you share comes back. Support the phpBB Communities
My Validated and Released Modifications
Offering paid phpBB help and System administrator services.

Locked

Return to “[3.0.x] Abandoned MODs”