isaacwedin
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: 404s on Every PageYou might want to revert to the default permalink setup (https://nerdist.com/?p=1 style) so the site’s not broken while you’re getting it figured out.
Forum: Fixing WordPress
In reply to: Photopress, WordPress database errorI’ve posted an updated version that may fix this problem – you can get it at familypress.net. You can email isaac-at-familypress-dot-net if the new version doesn’t help.
Forum: Plugins
In reply to: photopress plugin missing gd module?Try viewing the output of phpinfo() – that should tell you whether GD is installed or not.
Forum: Fixing WordPress
In reply to: WordPress address error and wrong Photopress URLIt should be the 2nd and 3rd options at Options > Photopress – change them to match what the addresses are at your site. I’ll try to remember to check this thread, or you can email me if you have more problems (isaac at familypress dot net).
Forum: Plugins
In reply to: Photopress can’t show thumbsUsually that string of errors means you’re using an earlier version of Photopress and your PHP’s GD module isn’t available for some reason. Has your server been upgraded recently? Check your phpinfo to see if GD is there.
The latest version of Photopress doesn’t let you upload if GD isn’t there, and produces a more understandable error message if GD isn’t found. You can get the latest version at familypress.net.
Forum: Plugins
In reply to: Two Photopress QuestionsThe latest version has a couple of ways to delete images, along with tools to clean up the database table in case things to awry.
Forum: Plugins
In reply to: Photopress fails with domain root as main pageThe latest version lets you specify paths and addresses on the Options page. You can get it at familypress.net/photopress.
Forum: Plugins
In reply to: Two Photopress QuestionsI’m hoping to add some way to delete images *soon*. In the meantime you’ll have to delete them manually – via FTP or however you usually access your site files.
Forum: Plugins
In reply to: Photopress “pp_album_template(): Failed opening”It’s probably caused by my foolish use of a relative path around line 351 of photopress.php. Try replacing this line:
include('wp-content/plugins/photopress/album.php');
with this:
include(ABSPATH.'wp-content/plugins/photopress/album.php');
I’ve made that change in the repository, so you can also get the updated photopress.php from there.
Forum: Plugins
In reply to: photopress random imageThe default random image thing only works if your theme is close to the default. You can add your own random image with this code:
<?php pp_random_image_bare(); ?>
You probably want to put it somewhere in your theme’s sidebar.php.
Forum: Plugins
In reply to: Help Developing PluginYou could use List Manager Plugin:
https://www.navidazimi.com/projects/wp-lists/Even if it won’t work as-is, it looks like a good place to start.
Forum: Plugins
In reply to: photo auto-resizing hackThe quality seems to depend on the version of GD you’ve got to work with. I have 2 so I can use imagecreatetruecolor and imagecopyresampled instead of imagecreate and imageresized. Imagejpeg takes a quality setting so you can adjust the compression of the output file to suit. The results seem good to me, but I’ve set it up to resize them pretty small. I’m using it at wedin.org to turn users’ giant uploads into thumbnails linked to smaller images.
Here’s a link to my modified b2upload.php. Sorta messy, no guarantee it’ll work for you, and so on. I’d love to hear any suggestions for improvements.Forum: Plugins
In reply to: photo auto-resizing hackThis is exactly what I’ve been looking for! My host doesn’t seem to have ImageMagick though so I swapped in some code to use GD instead. If anyone’s interested let me know.
isaac at wedin dot org