Images Hijacked by Photobucket?

Discussion of non-phpBB related topics with other phpBB.com users.
Forum rules
General Discussion is a bonus forum for discussion of non-phpBB related topics with other phpBB.com users. All site rules apply.
Zepticon
Registered User
Posts: 8
Joined: Sun Dec 13, 2015 6:44 pm

Re: Images Hijacked by Photobucket?

Post by Zepticon » Mon Aug 07, 2017 9:35 am

v12mike wrote:
Mon Aug 07, 2017 8:42 am
Holger wrote:
Mon Aug 07, 2017 6:18 am
Ummm, all those images linked above are "File not found".
That is true, but the script (for everyone else) copes with that by setting the status in the database so that they are skipped next time around.

The problem may be something to do with the version of php or some other environment issue. It seems that there is some problem with accessing the multi-dimensional array in the case of download failure.

I will try to hack the script to avoid that array access, and see what happens.

zepticon, can you pm me your email address so that I can send you a script to try?
I sent you a PM.

This is the database values for a file that i have already seen. It look like it does not skip files unless they are a successful download. In this case i have run the script 3-4 times, and it still tries to download this file every time. As you see the status is 0.

290 0 0 http://memimage.cardomain.net/member_im ... 2_full.jpg memimage.cardomain.net abfc7c8bf231f9e311f588dbc4ed571e jpg

Completed downloads like this is skipped every re-run of the script:
3 200 196837 http://img.photobucket.com/albums/v236/ ... C00148.jpg img.photobucket.com 26f0f19273a4cfee5ed32b90ea83c8b9 jpg

There are also some 404 in the database, but i am not sure about what happends to those since they are so few:
18 404 5823 http://www.323gtx.co.uk/pn/modules/PNph ... tx_129.jpg www.323gtx.co.uk 6f3aee70dfe429036842563b417142f5 jpg

My first attempt with editing i set the value for the problematic files to 404 (i guess its file not found) but that did not help. But changing the address to a non-working one did the trick.

User avatar
thecoalman
Former Team Member
Posts: 2322
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.

Re: Images Hijacked by Photobucket?

Post by thecoalman » Tue Aug 08, 2017 8:35 pm

v12mike wrote:
Mon Jul 03, 2017 7:46 pm
I have written a script (it is still a bit rough around the edges) to scan the phpBB database, find all the inline image links that point to photobucket and then put these links into new database tables.

I have written another script that reads the new database tables and fetches each image from photobucket for local backup.

I will next modify the camoimageproxy extension so that when a page is loaded with inline images, any that point to photobucket will be redirected to the local copy of the files.

Contact me if you want a copy of the scripts. I don't intend to provide much support, so you probably need to have some level of phpBB programming experience to use them.
Not a lawyer but as far as I know this is copyright infringement. You would need the members permission assuming the photo they linked to in their post belongs to them. If it belongs to someone else you would need their permission.

When a member uploads a file this is different because they are explicitly uploading the file to your server.

Holger
Registered User
Posts: 1599
Joined: Tue Mar 12, 2002 3:54 pm
Location: Hannover

Re: Images Hijacked by Photobucket?

Post by Holger » Wed Aug 09, 2017 6:26 am

thecoalman wrote:
Tue Aug 08, 2017 8:35 pm
v12mike wrote:
Mon Jul 03, 2017 7:46 pm
I have written a script (it is still a bit rough around the edges) to scan the phpBB database, find all the inline image links that point to photobucket and then put these links into new database tables.

I have written another script that reads the new database tables and fetches each image from photobucket for local backup.

I will next modify the camoimageproxy extension so that when a page is loaded with inline images, any that point to photobucket will be redirected to the local copy of the files.

Contact me if you want a copy of the scripts. I don't intend to provide much support, so you probably need to have some level of phpBB programming experience to use them.
Not a lawyer but as far as I know this is copyright infringement. You would need the members permission assuming the photo they linked to in their post belongs to them. If it belongs to someone else you would need their permission.

When a member uploads a file this is different because they are explicitly uploading the file to your server.
This is why I would not do a bulk-copy, we decide from case to case.
Holger wrote:
Tue Jul 25, 2017 1:01 pm
This is why I absolutely encourage my users to upload the images to our servers.
Either the terms and conditions changes or those sites go tits up.

We even have a script (a button that shows up at every post if there are external images) for moderators and admins to click on. That script/button transfers external images to our Servers, updates the post with the new Image location and adds a tiny line below the image showing the original location.
Are you looking for a phpBB Expert? Find a phpBB Expert!
Are you a phpBB Expert? Post your resume!
http://www.phpbbexperts.com

User avatar
AmigoJack
Registered User
Posts: 4974
Joined: Tue Jun 15, 2010 11:33 am
Location: グリーン ヒル ゾーン
Contact:

Re: Images Hijacked by Photobucket?

Post by AmigoJack » Wed Aug 09, 2017 6:46 am

thecoalman wrote:
Tue Aug 08, 2017 8:35 pm
as I know this is copyright infringement
Isn't this a whole different topic? You also have to consider if the uploader already had permissions to share said picture. Whoever looked at the pictures before also "downloaded" them already, and I doubt people are browsing topics with external pictures switched off so they're able to contact the uploader and/or owner.

For me it's quite obvious that those questions (should) have been answered long before bulk downloading.
The worst thing about censorship is ███████████

Holger
Registered User
Posts: 1599
Joined: Tue Mar 12, 2002 3:54 pm
Location: Hannover

Re: Images Hijacked by Photobucket?

Post by Holger » Wed Aug 09, 2017 6:56 am

AmigoJack wrote:
Wed Aug 09, 2017 6:46 am
thecoalman wrote:
Tue Aug 08, 2017 8:35 pm
as I know this is copyright infringement
Isn't this a whole different topic? You also have to consider if the uploader already had permissions to share said picture.
...
Lets say someone uploads an own picture to *bucket. Totally ok.
Then someone sees that picture and hotlinks it in a forum. That is a copyright issue, if the original uploader cares.
If that image then gets copied to the forum-server, the copyright issue is the same.
Are you looking for a phpBB Expert? Find a phpBB Expert!
Are you a phpBB Expert? Post your resume!
http://www.phpbbexperts.com

User avatar
thecoalman
Former Team Member
Posts: 2322
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.

Re: Images Hijacked by Photobucket?

Post by thecoalman » Wed Aug 09, 2017 2:21 pm

AmigoJack wrote:
Wed Aug 09, 2017 6:46 am
You also have to consider if the uploader already had permissions to share said picture.
Posting it inline is not copyright infringement because the image does not reside on your server. There has already been a few court cases on this, the gist of the ruling is a text link is no different than an inline link. It's simply directions for the browser. It's a whole other matter when the file resides on your server.

When the user has uploaded a file to your server assuming the file belongs to them they are effectively granting you a license to use the image. You have no license to posses and serve the file unless they have uploaded it.

As far as infringing uploads go If you have registered a DMCA agent with the US copyright office you the service provider fall under the "Safe Harbor" provision of the DMCA. The responsibility of any infringing content falls onto the user as long as you are responsive to take down notices and not actively encouraging copyright infringement.

User avatar
thecoalman
Former Team Member
Posts: 2322
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.

Re: Images Hijacked by Photobucket?

Post by thecoalman » Wed Aug 09, 2017 2:34 pm

Holger wrote:
Wed Aug 09, 2017 6:56 am
Then someone sees that picture and hotlinks it in a forum. That is a copyright issue, if the original uploader cares.
If that image then gets copied to the forum-server, the copyright issue is the same.
Hot linking is not an issue to the best of my knowledge. I'm not aware of anyone that has been successfully sued for hot linking images. See this article for reference.

https://www.eff.org/deeplinks/2007/05/p ... t-showdown


While on the topic there is another potential pitfall here. Copyright trolls will look for images that have been uploaded to many sites. They will obtain the rights to them and then you get letter from their lawyer demanding payment.... If you have specifically taken the action yourself to copy the file to your server you will be liable.

edit: Note this pertains to US law.

Holger
Registered User
Posts: 1599
Joined: Tue Mar 12, 2002 3:54 pm
Location: Hannover

Re: Images Hijacked by Photobucket?

Post by Holger » Thu Aug 10, 2017 6:15 am

I think the law is different in every country.
If you hotlink an image from an online newspaper or professional photographer website you will have a big problem in Sweden and Germany. The author then can send you a bill, and it is expensive.
Are you looking for a phpBB Expert? Find a phpBB Expert!
Are you a phpBB Expert? Post your resume!
http://www.phpbbexperts.com

paul_f
Registered User
Posts: 8
Joined: Thu Jun 18, 2015 7:22 pm
Name: Paul
Contact:

Re: Images Hijacked by Photobucket?

Post by paul_f » Thu Aug 17, 2017 9:49 pm

wrong post

Zepticon
Registered User
Posts: 8
Joined: Sun Dec 13, 2015 6:44 pm

Re: Images Hijacked by Photobucket?

Post by Zepticon » Wed Aug 23, 2017 6:34 am

Just wanted to give a HUGE thanks to v12mike for making the scripts. Got my forum back and running with hundreds of guides, how-to's and valuable information from our members the last 10 years.

johnnytype2
Registered User
Posts: 49
Joined: Sun Jan 08, 2017 8:16 pm

Re: Images Hijacked by Photobucket?

Post by johnnytype2 » Fri Aug 25, 2017 10:09 pm

all was going well but theres one address http://muchos.co.uk which works as http://www.muchos.co.uk and it stops at everyone

theres 1000s of instances in the db

is there an easy script i can run to replace all http://muchos.co.uk with http://www.muchos.co.uk ?


my php is crap sorry
:::EARLYBAY::: for fans of low light vans, 1967-1972

Zepticon
Registered User
Posts: 8
Joined: Sun Dec 13, 2015 6:44 pm

Re: Images Hijacked by Photobucket?

Post by Zepticon » Fri Aug 25, 2017 10:12 pm

johnnytype2 wrote:
Fri Aug 25, 2017 10:09 pm
all was going well but theres one address http://muchos.co.uk which works as http://www.muchos.co.uk and it stops at everyone

theres 1000s of instances in the db

is there an easy script i can run to replace all http://muchos.co.uk with http://www.muchos.co.uk ?


my php is crap sorry
Do a search and replace in the database, and replace all of them with something else :)

v12mike
Registered User
Posts: 143
Joined: Thu Jul 09, 2015 5:03 pm

Re: Images Hijacked by Photobucket?

Post by v12mike » Sat Aug 26, 2017 8:12 am

I have just committed an updated version of download_external_images.php

This version is slightly refactored, which seems to fix the crashing in some environments (php version related?)

I have also re-enabled the script to follow http redirects by default, as some are useful.

johnnytype2
Registered User
Posts: 49
Joined: Sun Jan 08, 2017 8:16 pm

Re: Images Hijacked by Photobucket?

Post by johnnytype2 » Sat Aug 26, 2017 11:38 am

the script for me seems to stop at every address that is not prefixed with www.

anyone else have this issue.
:::EARLYBAY::: for fans of low light vans, 1967-1972

johnnytype2
Registered User
Posts: 49
Joined: Sun Jan 08, 2017 8:16 pm

Re: Images Hijacked by Photobucket?

Post by johnnytype2 » Sat Aug 26, 2017 11:53 am

is there anyway to switch off the external download of images other than photobucket?
:::EARLYBAY::: for fans of low light vans, 1967-1972

Post Reply

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 30 guests

cron