How to deal with CPC files with the same image name?

30 views
Skip to first unread message

譚小叡

unread,
Apr 14, 2020, 12:01:52 AM4/14/20
to CoralNet Users
Dears:

I try to upload my old images and CPC files. But there is something wrong with the same name images(different sites or date, but do not change file name in the beginning CPCe work). It's not working even if I change the file name(Both Image and CPC files).It seems recorded in old CPC files.

Show as the picture. The 4 images went wrong with the same image name, but actually they are different date or site images. 

螢幕快照 2020-04-14 上午11.53.33.png


Guys please help me. I think there will be more later.......

Thanks a lot

Ray

Stephen Chan

unread,
Apr 14, 2020, 7:09:39 PM4/14/20
to CoralNet Users
Hi Ray,

Did you change the first line of your CPC file to match the image name on CoralNet?

If you open your CPC file in a text editor (like Notepad or TextEdit), you should see two file paths on the first line of the CPC file. The second file path should be of an image, like "C:\My Photos\0001.JPG". CoralNet tries to match this image file path with an image name in your source. The .cpc file name (like 0001.cpc) doesn't matter here.

Also, CoralNet should recognize folder paths to get the best image match. For example, if your source has image names "0001.JPG" and "My Photos/0001.JPG" (forward slash / or back slash \ is okay), and the first line of the .cpc file contains "C:\My Photos\0001.JPG", then CoralNet should match that with the image "My Photos/0001.JPG".

However, not a lot of people have tested this feature, so there could be a bug.

Stephen

譚 小叡

unread,
Apr 14, 2020, 11:50:31 PM4/14/20
to Stephen Chan, CoralNet Users
Hi Stephen,

Thanks, I think that’s what I should do, Just hope not too much same name files....lol. It is lousy deal with CPC files one by one. I will try more, great thanks!


寄件者: coralne...@googlegroups.com <coralne...@googlegroups.com> 代表 Stephen Chan <stephe...@gmail.com>
寄件日期: Wednesday, April 15, 2020 7:09:39 AM
收件者: CoralNet Users <coralne...@googlegroups.com>
主旨: Re: How to deal with CPC files with the same image name?
 
--
You received this message because you are subscribed to the Google Groups "CoralNet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coralnet-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/coralnet-users/54337332-fca5-441c-b4e5-8afc9202cacd%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages