PDA

View Full Version : deactivate a lens ?


kheops
28th of April 2006 (Fri), 16:22
hi :)

i hope i'll be quite clear...

let's say i have a 10-500 X lens, some of my photos in my gallery are made with this lens
but this lens sucks, so i buy the marvelous 10-500 Y lens, and start shooting

for one reason, if i upload a new picture, EE "thinks" that it comes from the X lens, and i have to change the properties in the photo editor afterwards

so, is there a way to deactivate a lens to "help" EE make a correct guessing ?

thanks a lot

MikeCaine
29th of April 2006 (Sat), 04:21
My site is down at the moment so I can't check, but I'm sure if you go to the section where you add your lenses there's and option to delete them as well.

kheops
29th of April 2006 (Sat), 04:33
you're right Mike, but you can't remove a lens as soon as it's used in an exhibition, which is my case

thanks for your time

shaun3000
29th of April 2006 (Sat), 19:00
I'm interested to know if this is possible, too.

Pekka
29th of April 2006 (Sat), 19:04
Yes it is possible by creating an array of lens ids which is then used as ignore list in lens guess code.

shaun3000
1st of May 2006 (Mon), 00:17
Can you elaborate? I'm programming stupid :(

kheops
1st of May 2006 (Mon), 05:48
for me piece of code to change is in SCRIPT_add_to_database.php in your admin folder, search for
if ($s_upload_guess_lens == "1") {
i'm trying to patch it