Topic Closed
9 Posts

Hello, I have recently installed Typesetter on a Raspberry Pi 2. I don't know much about web stuff (which attracted me to Typesetter in the first place). I followed the "how to make a web server" guide on Pi-My-Life-Up: but I sorta skipped a step. While googling what version of PHP the Pi would use I thought to my self that v5 sounded old compared to v7 that was out now. So i installed v7 using the guide found at: it argued that 7 would make things run faster on the under-powered Pi board. So I thought why not? If it installs then great :)

The installation went well enough, running the install page said that everything had passed except the last item on the list (something about images) which said it passed since it didn't have anything to say "fail" in the requirements column for that item. I followed the install guides suggestion of deleting the installation php file for added security and then went on my merry way of making an intranet page for my colleagues for references, forms, employee directory Word document, etc.

After making various menus and adding text content the page was really starting to become a thing. I was quite pleased at how easy Typesetter was to use and how a spoon like myself could figure out how to add content and not be completely baffled. That was, until i tried to add an image. :(

Error screenshot

As you can see, the images look broken, the files will upload to the server, but then they aren't read? I noticed the same problem when trying to use the Gallery, but it would give me a yellow bar message about an image error and then demand to reload the page because it couldn't save the edits. Where should I look to find a solution to this? httpaccess? apache? php version fail? I don't even know where to start in order to search to solve this issue myself. I hope I explained the situation well enough and I hope this issue will help other novice users like myself if they run across it in the future. Thank you for your time and assistance, its much appreciated.

4 years ago#10203

1.5K Posts
16 Plugins
design, web development & visual effects

Hi goney3 and welcome to the forum,

Your issue has most likely to do with the graphics library.
Since you installed apache+php  using

apt-get install apache2 php7.0 php7.0-curl php7.0-gd php7.0-imap php7.0-json php7.0-mcrypt php7.0-mysql php7.0-opcache php7.0-xmlrpc libapache2-mod-php7.0

the 'gd' graphics library should be present. So...

  • What do you get when you right-click a broken image -> Copy image URL
  • The other question is if PHP has enough RAM to actually process images. When uploading large images, downsampling and thumb creation can take a lot of memory. The image's uncompressed size must not surpass available memory -> uncompressed = roughly (width-px * height-px * 3) bytes. To test that you could try a small image, let's say 640 x 480 px or so.
Edited: 4 years ago#10204

9 Posts

Yep, you were absolutely correct: php7.0-gd somehow didn't get installed. Images now upload and appear correctly now! THANK YOU!!!

1) I can copy URL and get: http://##.###.##.###/data/_uploaded/image/Tyler/small_logo.png which does indeed load in my browser.

2) its 375x187 pixels, I thought that would be small enough? It doesn't seem to generate a thumbnail in the "select image" area. They just show up with the torn-photo placeholder for it being broken.

Interestingly enough, I can get it to post the broken image when using "Editable Text & Image Gallery" (in the screenshot I posted earlier), but if I try to just use Image or Editable Text & Image I get a yellow bar error message when it tries to autosave: "Oops, that didn't work, please try again. (Couldn't create image [1])"

Thank you for helping me with this, i really appreciate it.

Edited: 4 years ago#10205

Topic Closed



elFinder 2.1.50 in Upcoming Release

A new release for Typesetter is in the works with a lot of improvements including the ... Read More

Typesetter 5.1

Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

More News


Company located in T├│rshavn, Faroe Islands. * Webpage Design * Consultant & Provider of a wide range of programs for visually impaired and dyslextics.

Find out more about our Provider Spotlight

Log In