Forum

Thread tagged as: Problem

Something funny is happening when I upload images.

I installed perch over a year ago now, and it's been awesome. However (after a little break) I'm trying to upload new posts to my site with images. The images I'm uploading are RGB and low file sizes, but once I've uploaded them to my article, they seem to render blurry and really dark. What am I doing wrong?

Here's a link to my example: https://eightmadefour.co.uk/blog/post.php?s=2014-10-13-this-is-a-test

And how the image really looks: https://www.amywilloughby.co.uk/img/blog/RTBC-planner.jpg

Thanks Amy

Amy Willoughby

Amy Willoughby 0 points

  • 7 years ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

Can we see your Diagnostics Report from under Settings in the Perch admin?

However, if I use the editor to position the image inline (using the WYSIWYG editor), the colours are right, but the sizing is crazy.

https://eightmadefour.co.uk/blog/post.php?s=2014-10-13-this-is-a-test

Telling me I need to update: Perch is out of date. You are running Perch 2.4.5 and the latest is 2.6.6.

I'll try that and get back to you if I break anything else ;)

Thanks Amy

That worked OK, until I tried to save. I got this error:

Fatal error: Class 'Netcarver\Textile\Parser' not found in /websites/123reg/LinuxPackage23/ei/gh/tm/eightmadefour.co.uk/public_html/perch/core/lib/PerchFieldTypes.class.php on line 448

...looking to see if I can fix it myself, but if you know what it might be quicker than me, any help would be ace!

Thanks again. Amy

Or this one:

Fatal error: Cannot redeclare class Netcarver\Textile\Tag in /websites/123reg/LinuxPackage23/ei/gh/tm/eightmadefour.co.uk/public_html/perch/core/lib/Textile.class.php on line 4204

Rachel Andrew

Rachel Andrew 394 points
Perch Support

Can we see your Diagnostics Report from under Settings in the Perch admin?

Sure, here it is:

Perch: 2.6.6
Production mode: Production (100)
Installed apps: content (2.6.6), assets (2.6.6), categories (2.6.6), perch_blog (4.0)
DB driver: PDO
DB tables: craft_elements, craft_entries, craft_entrytypes, craft_fieldgroups, craft_fieldlayouts, craft_fields, craft_locales, craft_sections, craft_usergroups, craft_userpermissions, craft_users, perch2_blog_authors, perch2_blog_categories, perch2_blog_comments, perch2_blog_posts, perch2_blog_posts_to_categories, perch2_blog_posts_to_tags, perch2_blog_sections, perch2_blog_tags, perch2_categories, perch2_category_counts, perch2_category_sets, perch2_content_index, perch2_content_items, perch2_content_regions, perch2_navigation, perch2_navigation_pages, perch2_page_templates, perch2_pages, perch2_resource_log, perch2_resource_tags, perch2_resources, perch2_resources_to_tags, perch2_settings, perch2_user_privileges, perch2_user_role_privileges, perch2_user_roles, perch2_users
Users: 1
App runtimes:
<?php
    include(PERCH_PATH.'/core/apps/content/runtime.php');
    include(PERCH_PATH.'/addons/apps/perch_blog/runtime.php');
    include(PERCH_PATH.'/core/apps/categories/runtime.php');
?>
Scheduled tasks for perch_blog: delete_spam_comments (1440 mins)
Editor plug-ins: markitup
H1: 429e2d5999c7292d99093fa698d489fd
L1: bf3caa1559a0be73ec26cf856c784358
headerColour: #ffffff
content_singlePageEdit: 1
helpURL:
siteURL: /
hideBranding: 0
content_collapseList: 1
lang: en-gb
update_2.4.5: done
latest_version: 2.5.3
on_sale_version: 2.6.6
perch_blog_post_url: /blog/post.php?s={postSlug}
perch_blog_update: 4.0
headerScheme: light
perch_blog_akismet_key:
perch_blog_max_spam_days: 0
dashboard: 0
content_hideNonEditableRegions: 0
content_frontend_edit: 0
perch_blog_comment_notify: 0
perch_blog_slug_format: %Y-%m-%d-{postTitle}
update_2.6.6: done
PERCH_DEVELOPMENT: 10
PERCH_STAGING: 50
PERCH_PRODUCTION: 100
PERCH_DB_USERNAME: 8_made_4
PERCH_DB_SERVER: cust-mysql-123-18
PERCH_DB_DATABASE: 8_made_4
PERCH_DB_PREFIX: perch2_
PERCH_TZ: Europe/London
PERCH_EMAIL_FROM: email@amywilloughby.co.uk
PERCH_EMAIL_FROM_NAME: Amy Willoughby
PERCH_LOGINPATH: /perch
PERCH_PATH: /websites/123reg/LinuxPackage23/ei/gh/tm/eightmadefour.co.uk/public_html/perch
PERCH_CORE: /websites/123reg/LinuxPackage23/ei/gh/tm/eightmadefour.co.uk/public_html/perch/core
PERCH_RESFILEPATH: /websites/123reg/LinuxPackage23/ei/gh/tm/eightmadefour.co.uk/public_html/perch/resources
PERCH_RESPATH: /perch/resources
PERCH_HTML5: 1
PERCH_RUNWAY:
PERCH_ERROR_MODE: DIE
PERCH_DATE_LONG: %d %B %Y
PERCH_DATE_SHORT: %d %b %Y
PERCH_TIME_SHORT: %H:%M
PERCH_TIME_LONG: %H:%M:%S
PERCH_DEBUG:
PERCH_PREVIEW_ARG: preview
PERCH_TEMPLATE_PATH: /websites/123reg/LinuxPackage23/ei/gh/tm/eightmadefour.co.uk/public_html/perch/templates
PERCH_DEFAULT_DOC: index.php
PERCH_DEFAULT_EXT: .php
PERCH_PRODUCTION_MODE: 100
PERCH_RWD:
PERCH_HTML_ENTITIES:
PERCH_SSL:
PERCH_AUTH_PLUGIN:
PERCH_DB_CHARSET: utf8
PERCH_DB_PORT:
PERCH_DB_SOCKET:


# Title HOSTING SETTINGS

PHP: 5.5.9
Zend: 2.5.0
OS: Linux
SAPI: cgi-fcgi
Safe mode: not detected
MySQL client: mysqlnd 5.0.11-dev - 20120503 - $Id: bf9ad53b11c9a57efdb1057292d73b928b8c5c77 $
MySQL server: 5.5.33-31.1-log
Extensions: Core, date, ereg, libxml, openssl, pcre, zlib, filter, hash, pcntl, readline, Reflection, SPL, session, standard, cgi-fcgi, bcmath, bz2, calendar, ctype, curl, dba, dom, mbstring, fileinfo, ftp, gd, gettext, gmp, iconv, imap, json, exif, mcrypt, mysqlnd, mysql, mysqli, odbc, PDO, pdo_mysql, PDO_ODBC, Phar, shmop, SimpleXML, soap, sockets, sqlite3, tokenizer, xml, wddx, xmlreader, xmlrpc, xmlwriter, xsl, zip, mhash
GD: Yes (image sharpening disabled, #66714)
ImageMagick: No
PHP max upload size: 8M
PHP max form post size: 8M
PHP memory limit: 128M
Total max uploadable file size: 8M
Resource folder writeable: Yes
Session timeout: 24 minutes
Native JSON: Yes
Filter functions: Yes
Transliteration functions: No
DOCUMENT_ROOT: /websites/123reg/LinuxPackage26/ei/gh/tm/eightmadefour.co.uk/public_html
DOCUMENT_ROOT_REAL: /websites/123reg/LinuxPackage26/ei/gh/tm/eightmadefour.co.uk/public_html
GATEWAY_INTERFACE: CGI/1.1
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
HTTP_ACCEPT_ENCODING: gzip,deflate,sdch
HTTP_ACCEPT_LANGUAGE: en-US,en;q=0.8
HTTP_CONNECTION: keep-alive
HTTP_COOKIE: PHPSESSID=d16f994b129ceaf619d53fd03de29b18; cmsa=1
HTTP_HOST: eightmadefour.co.uk
HTTP_REFERER: https://eightmadefour.co.uk/perch/core/settings/diagnostics/
HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.101 Safari/537.36
MAGICK_THREAD_LIMIT: 1
PATH: /bin:/usr/bin:/usr/local/bin:/usr/local/php4/bin
PWD: /websites/123reg/LinuxPackage23/ei/gh/tm/eightmadefour.co.uk/public_html/perch/core/settings/diagnostics
QUERY_STRING: extended
REDIRECT_STATUS: 200
REMOTE_ADDR: 80.5.113.107
REMOTE_PORT: 7215
REQUEST_METHOD: GET
REQUEST_URI: /perch/core/settings/diagnostics/?extended
SCRIPT_FILENAME: /websites/123reg/LinuxPackage26/ei/gh/tm/eightmadefour.co.uk/public_html/perch/core/settings/diagnostics/index.php
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
SCRIPT_URI: https://eightmadefour.co.uk/perch/core/settings/diagnostics/
SCRIPT_URL: /perch/core/settings/diagnostics/
SERVER_ADDR: 10.15.21.112
SERVER_ADMIN: www.123-support.co.uk
SERVER_NAME: eightmadefour.co.uk
SERVER_PORT: 80
SERVER_PROTOCOL: HTTP/1.1
SERVER_SIGNATURE: <address>Apache Server at eightmadefour.co.uk Port 80</address>
SERVER_SOFTWARE: Apache
UNIQUE_ID: VDy5gAoPC3AAAB9zFEcAAABV
VHOST: eightmadefour.co.uk
PHP_SELF: /perch/core/settings/diagnostics/index.php
REQUEST_TIME_FLOAT: 1413265792.1297
REQUEST_TIME: 1413265792
argc: 1
Rachel Andrew

Rachel Andrew 394 points
Perch Support

Looks like you are running an out of date Blog App

You'll need to update that, be sure to read the docs: https://docs.grabaperch.com/addons/blog/installation/

So far, so good!! :) Thanks for all your help and patience!

Amy