Images being duplicated uneccesarily

Home Forums Calendar Products Event Aggregator Images being duplicated uneccesarily

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1107054
    Caroline Clifford
    Participant

    Hi there,

    Many of the events we import are weekly and have the same event image, yet the Importer repeats the image over and over each week. Couldn’t it do a quick scan to see if that image exists (by binary search) and just use the old one, it’s really taking up a lot of disk space now, thanks!

    Caroline

    #1107086
    George
    Participant

    Oh no! Thanks for reaching out Caroline—this is not intended behavior, so if there’s a bug here it’s something we can definitely get on top of and fix.

    I don’t reproduce this problem on my own local site—which does not mean there’s not a bug, just that I need to do some more investigating here.

    To that end, would you mind providing two bits of information here?

    1. You mention “the importer”—I’m pretty sure you just mean the Facebook Importer, is that right?

    2. Can you post your site’s “system information”? Here’s how → https://theeventscalendar.com/knowledgebase/sharing-sys-info/

    Thanks!
    George

    #1107091
    Caroline Clifford
    Participant

    Thanks for the speedy reply! Is it not expected behaviour that if 2 different events upload the same picture , it will be seen as a different image E.G.

    https://www.facebook.com/events/1524303097875037/
    and
    https://www.facebook.com/events/1728673430710384/

    1. Yes the Facebook Importer made by Tribe
    2.

    URL
    
    Home
    INSTALL KEYS events-calendar-pro = ffe0cafa8864478d548f2a97f58d9072201545c7 events-community = 40fbe80f51c9e98dfaceabd67b6fe0d42b6f3fc6 events-facebook-importer = 4329b09d6ef150f61beba42300a39980379faf67 WORDPRESS VERSION 4.4.2 PHP VERSION 5.5.33 PLUGINS Advanced Custom Fields: Repeater Field version 1.1.1 by Elliot Condon(http://www.elliotcondon.com/) Advanced Cron Manager version 1.4.3 by Kuba Mikita(http://www.wpart.pl/) Advanced Custom Fields version 4.4.4 by Elliot Condon(http://www.elliotcondon.com/) Custom Post Type UI version 1.1.2 by WebDevStudios(http://webdevstudios.com/) Debug Bar Slow Actions version 0.8.3 by Konstantin Kovshenin(http://kovshenin.com) Debug Bar version 0.8.2 by wordpressdotorg(http://wordpress.org/) The Events Calendar PRO version 4.0.4 by Modern Tribe, Inc.(http://m.tri.be/20) Facebook Wall Events version 1.0 by Caroline Clifford(http://accessibledesign.net) Limit Login Attempts version 1.7.1 by Johan Eenfeldt(http://devel.kostdoktorn.se) The Events Calendar: Community Events version 4.0.4 by Modern Tribe, Inc.(http://m.tri.be/21) The Events Calendar: Facebook Events version 4.0 by Modern Tribe, Inc.(http://m.tri.be/22) The Events Calendar version 4.0.5 by Modern Tribe, Inc.(http://m.tri.be/1x) W3 Total Cache version 0.9.4.1 by Frederick Townes(http://www.linkedin.com/in/w3edge) NETWORK PLUGINS - MU PLUGINS - THEME BootstrapWP MULTISITE - SETTINGS schema-version = 4.0.5 recurring_events_are_hidden = exposed previous_ecp_versions = Array ( [0] => 0 [1] => 4.0 [2] => 4.0.1 ) latest_ecp_version = 4.0.5 last-update-message = 4.0.1 disable_metabox_custom_fields = hide pro-schema-version = 4.0.4 fb_api_key = 366597510039533 fb_api_secret = d510cdd653447ac40dfd2a0540e2dca4 custom-fields = Array ( [2] => Array ( [name] => _ecp_custom_2 [label] => Language [type] => checkbox [values] => English German ) [3] => Array ( [name] => _ecp_custom_3 [label] => Other language - please specify [type] => text [values] => ) ) custom-fields-max-index = 3 earliest_date = 2015-12-10 20:00:00 latest_date = 2016-11-26 22:00:00 donate-link = postsPerPage = 10 liveFiltersUpdate = 1 hideSubsequentRecurrencesDefault = userToggleSubsequentRecurrences = recurrenceMaxMonthsBefore = 24 recurrenceMaxMonthsAfter = 24 showComments = showEventsInMainLoop = eventsSlug = events singleEventSlug = event multiDayCutoff = 00:00 defaultCurrencySymbol = € reverseCurrencyPosition = embedGoogleMaps = 1 geoloc_default_geofence = 25 geoloc_default_unit = kms embedGoogleMapsZoom = 10 debugEvents = organizer_venue_amalgamation = 1 pue_install_key_events_community = 40fbe80f51c9e98dfaceabd67b6fe0d42b6f3fc6 pue_install_key_events_facebook_importer = 4329b09d6ef150f61beba42300a39980379faf67 pue_install_key_events_calendar_pro = ffe0cafa8864478d548f2a97f58d9072201545c7 imported_post_status = Array ( [csv] => publish [facebook] => publish ) fb_uids = 1201077883254934 offthecuffcomedy thecampfireberlin gemused mondaynightmicszatopek FishBowlBerlin thenoseberlin adorablecomedy nightsweatscomedy piffleradio comedyaufdeuglish teepeelandstandsup cosmiccomedyberlin thefishbowlberlin comedyopenair gowestcomedy NightShowBerlin CSzBerlin GoodLuckBarbara PetriDishComedyOpenMicrobe extraextraberlin eggandbear 1142083829136732 fb_enable_GoogleMaps = 1 fb_auto_import = 1 fb_auto_frequency = twentymins tribeEnableViews = Array ( [0] => list [1] => month [2] => week [3] => day [4] => photo ) WORDPRESS TIMEZONE - SERVER TIMEZONE UTC COMMON LIBRARY DIR /home/leperisland/public_html/cie_new/wp-content/plugins/the-events-calendar/common/src/Tribe COMMON LIBRARY VERSION
    #1107996
    George
    Participant

    Hey Caroline,

    Thanks for this information!

    I consulted with a developer on our team here and have two pieces of information to share here:

    1. First, I notice in your “System Information” that you’re using some outdated versions of our plugins. Instead of The Events Calendar 4.0.5, for example, you should be using the latest version, which is currently 4.1.2.

    So, I would recommend updating The Events Calendar to 4.1.2 and then updating all of the other add-ons for it on your site to their most recent versions; you can find the downloads for these other add-ons at http://theeventscalendar.com/my-account/downloads

    2. Next, one thing the developer and I noticed is that the images on your event pages LOOK the same to the human eye, but they’ve actually got different filenames (and are attached to different events, of course). They do seem to be the same size, but the fact is that the filenames of the images themselves are actually different. In our code, then, different hashes would be returned for the images when these events are looked up to be imported—this would suggest to the code that the images are different and thus any sort of “duplicate” test is failed.

    They look identical, admittedly—but they might have slightly different compression values or EXIF data or some other small difference, trivial to a human but hard for a machine to pick out, and so they are imported anew each time.

    I’m sorry about these facts, because we unfortunately don’t have a solution for this at this time. 🙁 But I hope that my explanation of the problem is useful.

    Let me know what you think!
    George

    #1108095
    Caroline Clifford
    Participant

    Thanks George. I’ll update the Calendar right away.

    Sorry for the slow reply Gmail decided this one was spam !

    Hmm could the image checking not be a bit more fuzzy ? Could I set that somewhere ? It’s just they are the same image on the desktop, I imagine Facebook’s compression chews them a little differently each upload

    #1108548
    George
    Participant

    No problem @Caroline, thank you for the follow-up!

    One it comes to “setting” the compression and such for the images, I hate to keep bearing bad news but this is unfortunately not something that you could easily alter—especially not from within your WordPress site. The compression on Facebook.com itself indeed seems to end up with slightly different images (as far as a program can interpret them), and they still ultimately end up on Facebook.com with a different filename and such.

    So it’s a tricky problem—I’m sorry about the state of things, but please let me know if I can try to help with anything else or what other comments/feedback you might have on this.

    Sincerely,
    George

    #1114343
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Images being duplicated uneccesarily’ is closed to new replies.