Skip to content or view mobile version

Home | Mobile | Editorial | Mission | Privacy | About | Contact | Help | Security | Support

A network of individuals, independent and alternative media activists and organisations, offering grassroots, non-corporate, non-commercial coverage of important social and political issues.

imc-uk documentation: how to repair broken pictures & more

andi | 12.12.2001 18:06

this text is as well on  http://uk.indymedia.org:8081/documentation/fix_broken_pictures.txt
for passwords please ask me or another techie in the wednesday meetings, or introduce yourself to either the features list or the tech list - we then can arrange a meeting. and there's more documentation by the way, check on  http://uk.indymedia.org:8081/documentation - if you want to get the pdf's there, right-click and save file to disk! cheers andi

---------------------------------------------
How to fix missing pictures:
_____________________________________________


How the picture uploads work:
-----------------------------
When a picture is uploaded a smaller preview version with 150
pixels width is automatically created. This will only be done
if the file is named picture.gif or picture.jpg. Other picture
file formats such as .tif, .psd or .bmp will not be resized
properly.
The picture thumbnails are set to appear in the newswire and
will link to the story where the picture can be seen in
original size. Both the thumbnail and the uploaded picture are
stored on stallman in:
/www/uk/local/webcast/uploads/metafiles
audiovisual stuff, pdf's, texts and older files are here:
/www/uk/local/webcast/uploads

In order to take as much as possible serving load off stallman,
all multimedia data and big text files are scripted to be
copied over to the media server images.indymedia.org which has
both a faster connection to the web and a bigger hard drive
than stallman. This media server is hosted on loudeye.com. The
copying over is done by a perl script called pushtoeye which
kicks in every 12 minutes and copies all audiovisual media,
photos and bigger text files to loudeye. There the files end up
in the following directory:
/metafiles/uk
Any file in here can be downloaded; here an example url:
 http://images.indymedia.org/imc/uk/anyfile.ext

When a file is copied over to loudeye, its URL is changed at
the same time. For exaample, a thumbnail appearing in the
newswire has for the first 12 minutes the following URL:
 http://uk.indymedia.org/local/webcast/uploads/metafiles/PICTURE-thumb.jpg
That means it's still linked to the file on stallman. But if
you check the URL after 12 minutes it will be
 http://images.indymedia.org/imc/uk/PICTURE-thumb.jpg
That means that it's now linked to the file on loudeye.

If something with the copying and linking over went wrong, the
picture will not appear anymore even though it was first
visible. This happens fairly often and has led a number of
people to believe that "the picture has been pulled" by an
editorial censor.

Copying over has been going wrong quite often, and in a variety
of ways. For example, all recent thumbnails are *linked* to
loudeye (even if they don't show in the wire), but only around
10 percent of the bigger media files are automatically linked
to loudeye. A number of files hasn't been sent to loudeye at
all, and others have ended up in wrong directories. There is a
catch-up script to trigger the copying over process manually,
but it doesn't work all the time either. So a lot of manual
fixing is needed.

If the script for copying and linking over fails it can have
several consequences: the hard drive can be getting full for
example if not enough manual fixing is done, as has happened
lately.

All the bigger media files should be linked to loudeye
and be deleted from stallman. Secondly, if not all big files
are linked to loudeye then the serving load on stallman
increases, causing the web serving performance to be more
sluggish than it need to be.

Still - remember that *no* software can be expected to work
faultlessly all of the time. Corporate software needs constant
maintenance, too, and they pay people to keep watching it.
Indymedia's non-corporate software is pretty good but can fail,
and as everybody in Indymedia gives their free time, there is
not always somebody around to correct things immediately.
This documentation is written to enable *you* to do it!

Here's how to fix it:
---------------------
First of all get the URL of the missing picture:
- On a PC, rightclick on the broken picture and select
properties.
- On a Mac, use iCab (download it from  http://www.icab.de).
Unlike netscrape/exploder, it has a an option to get URL's
of missing images. Click on the broken image, hold the
mouse button down and select "Image > Copy URL to
Clipboard" in the pop-up window.

If the URL is pointing to images.indymedia.org
----------------------------------------------
 http://images.indymedia.org/imc/uk/MISSING_PICTURE-thumb.jpg
this is the URL for loudeye's default directory
/metafiles/uk
connect with an ftp client to :

- the file is not there. the copying over has failed or erred
and you need to copy the file over manually:
1) Check first if it's not ended up one directory deeper
down, in /metafiles/uk/metafiles
2) If it's not in /metafiles/uk/metafiles then you need to
get it from stallman. it will be in
/www/uk/local/webcast/uploads/metafiles

- the file is there but the image is still broken:
1) Check first the file permissions: the file might not be
set as readable for everybody. correct it if necessary.
2) The file might be corrupt. Download it to your hard drive
and open it from there. If it's OK, delete the file from
loudeye and reupload it from your hard drive.
3) The file *is* corrupt, you cannot open it when you have it
on your hard drive: get the original from stallman.
4) The original on stallman is corrupt: post a comment on the
story saying you've checked the file but the upload was
corrupted, and ask to reupload it as a comment. If there's
an email of the author, send him/her a mail saying this.


If the URL is pointing to uk.indymedia.org:
-------------------------------------------

 http://uk.indymedia.org/local/webcast/uploads/metafiles/MISSING_PICTURE.jpg
this is the URL for stallman's default upload directory
/www/uk/local/webcast/uploads/metafiles
connect via ssh telnet to :
check if the file is in either of these directories:
/www/uk/local/webcast/uploads
/www/uk/local/webcast/uploads/metafiles/

What software to use to connect to stallman and loudeye:
--------------------------------------------------------
Using a Mac:
FTP client: Fetch, Transmit or whatever you prefer
SSH and SCP telnet: NiftyTelnet

Using a PC:
FTP client: CuteFTP, NWFTP or whatever you prefer
SSH telnet: Putty
SCP telnet: PSCP
WinSCP
iXplorer

For PC users:
Watch out, WinSCP or iXplorer *CANNOT* transfer files to and
from stallman's upload folders
/www/uk/local/webcast/uploads
/www/uk/local/webcast/uploads/metafiles/
If you want to download a file these folders *DO NOT* use
WinScp or iXplorer. Neither are able to display the amount of
files in these directories - they will simply hang and time
out. You DO need Putty and Pscp. Check with Putty if the file
is present and download it from a Command Prompt via PSCP.

Mac users:
NiftyTelnet does it all. You can telnet with the normal
'connect' button and SCP with a dedicated button. For more info
on how to download/upload heck
 http://uk.indymedia.org:8081/documentation/secure_copy_mac.txt
if you want to see screenshots with that documentation, go to
file  http://uk.indymedia.org:8081/documentation/ and download the
file secure_copy_mac.pdf. but make sure to keep your mouse held
down when you click on the link and download/save it to your disk.

andi
- e-mail: andi@syndicate.org.uk
- Homepage: http://uk.indymedia.org:8081/documentation

Upcoming Coverage
View and post events
Upcoming Events UK
24th October, London: 2015 London Anarchist Bookfair
2nd - 8th November: Wrexham, Wales, UK & Everywhere: Week of Action Against the North Wales Prison & the Prison Industrial Complex. Cymraeg: Wythnos o Weithredu yn Erbyn Carchar Gogledd Cymru

Ongoing UK
Every Tuesday 6pm-8pm, Yorkshire: Demo/vigil at NSA/NRO Menwith Hill US Spy Base More info: CAAB.

Every Tuesday, UK & worldwide: Counter Terror Tuesdays. Call the US Embassy nearest to you to protest Obama's Terror Tuesdays. More info here

Every day, London: Vigil for Julian Assange outside Ecuadorian Embassy

Parliament Sq Protest: see topic page
Ongoing Global
Rossport, Ireland: see topic page
Israel-Palestine: Israel Indymedia | Palestine Indymedia
Oaxaca: Chiapas Indymedia
Regions
All Regions
Birmingham
Cambridge
Liverpool
London
Oxford
Sheffield
South Coast
Wales
World
Other Local IMCs
Bristol/South West
Nottingham
Scotland
Social Media
You can follow @ukindymedia on indy.im and Twitter. We are working on a Twitter policy. We do not use Facebook, and advise you not to either.
Support Us
We need help paying the bills for hosting this site, please consider supporting us financially.
Other Media Projects
Schnews
Dissident Island Radio
Corporate Watch
Media Lens
VisionOnTV
Earth First! Action Update
Earth First! Action Reports
Topics
All Topics
Afghanistan
Analysis
Animal Liberation
Anti-Nuclear
Anti-militarism
Anti-racism
Bio-technology
Climate Chaos
Culture
Ecology
Education
Energy Crisis
Fracking
Free Spaces
Gender
Globalisation
Health
History
Indymedia
Iraq
Migration
Ocean Defence
Other Press
Palestine
Policing
Public sector cuts
Repression
Social Struggles
Technology
Terror War
Workers' Movements
Zapatista
Major Reports
NATO 2014
G8 2013
Workfare
2011 Census Resistance
Occupy Everywhere
August Riots
Dale Farm
J30 Strike
Flotilla to Gaza
Mayday 2010
Tar Sands
G20 London Summit
University Occupations for Gaza
Guantanamo
Indymedia Server Seizure
COP15 Climate Summit 2009
Carmel Agrexco
G8 Japan 2008
SHAC
Stop Sequani
Stop RWB
Climate Camp 2008
Oaxaca Uprising
Rossport Solidarity
Smash EDO
SOCPA
Past Major Reports
Encrypted Page
You are viewing this page using an encrypted connection. If you bookmark this page or send its address in an email you might want to use the un-encrypted address of this page.
If you recieved a warning about an untrusted root certificate please install the CAcert root certificate, for more information see the security page.

Global IMC Network


www.indymedia.org

Projects
print
radio
satellite tv
video

Africa

Europe
antwerpen
armenia
athens
austria
barcelona
belarus
belgium
belgrade
brussels
bulgaria
calabria
croatia
cyprus
emilia-romagna
estrecho / madiaq
galiza
germany
grenoble
hungary
ireland
istanbul
italy
la plana
liege
liguria
lille
linksunten
lombardia
madrid
malta
marseille
nantes
napoli
netherlands
northern england
nottingham imc
paris/île-de-france
patras
piemonte
poland
portugal
roma
romania
russia
sardegna
scotland
sverige
switzerland
torun
toscana
ukraine
united kingdom
valencia

Latin America
argentina
bolivia
chiapas
chile
chile sur
cmi brasil
cmi sucre
colombia
ecuador
mexico
peru
puerto rico
qollasuyu
rosario
santiago
tijuana
uruguay
valparaiso
venezuela

Oceania
aotearoa
brisbane
burma
darwin
jakarta
manila
melbourne
perth
qc
sydney

South Asia
india


United States
arizona
arkansas
asheville
atlanta
Austin
binghamton
boston
buffalo
chicago
cleveland
colorado
columbus
dc
hawaii
houston
hudson mohawk
kansas city
la
madison
maine
miami
michigan
milwaukee
minneapolis/st. paul
new hampshire
new jersey
new mexico
new orleans
north carolina
north texas
nyc
oklahoma
philadelphia
pittsburgh
portland
richmond
rochester
rogue valley
saint louis
san diego
san francisco
san francisco bay area
santa barbara
santa cruz, ca
sarasota
seattle
tampa bay
united states
urbana-champaign
vermont
western mass
worcester

West Asia
Armenia
Beirut
Israel
Palestine

Topics
biotech

Process
fbi/legal updates
mailing lists
process & imc docs
tech