Dan Campbell Posted August 17, 2010 at 08:16 PM Share Posted August 17, 2010 at 08:16 PM I want to modify or override the way JReviews names images. In the file name I want to use underscores or hyphens for SEO purposes, but JReviews removes them. For example a file named "Disk-Space.png" becomes "147_DiskSpace_1282069055.png". I understand the "147" being the record number for the article / listing and the "_" underscore being used as a separator, however I don't know where"1282069055" comes from. I went to the file on the server and renamed it to "147_Disk-Space_1282069055.png" and then changed the images column in record 147 in the Joomla content table so that it looked for the renamed file and it worked correctly. Where do I need to go to access the code that validates and names the image files? I have traced some of the workings to "listings_controller.php" and "jr_imageUpload", but I'm not sure if I'm on the right track. Link to comment
Alejandro Posted August 17, 2010 at 11:41 PM Share Posted August 17, 2010 at 11:41 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Dan Campbell Posted August 18, 2010 at 03:13 AM Author Share Posted August 18, 2010 at 03:13 AM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Recommended Posts